4 #define QEMU_FILE_TYPE_BIOS 0
5 #define QEMU_FILE_TYPE_KEYMAP 1
8 * @type: QEMU_FILE_TYPE_BIOS (for BIOS, VGA BIOS)
9 * or QEMU_FILE_TYPE_KEYMAP (for keymaps).
10 * @name: Relative or absolute file name
12 * If @name exists on disk as an absolute path, or a path relative
13 * to the current directory, then returns @name unchanged.
14 * Otherwise searches for @name file in the data directories, either
15 * configured at build time (DATADIR) or registered with the -L command
18 * The caller must use g_free() to free the returned data when it is
21 * Returns: a path that can access @name, or NULL if no matching file exists.
23 char *qemu_find_file(int type
, const char *name
);
24 void qemu_add_default_firmwarepath(void);
25 void qemu_add_data_dir(char *path
);
26 void qemu_list_data_dirs(void);