summaryrefslogtreecommitdiffstats
path: root/fish/fish.h
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-10-26 15:28:28 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-27 12:04:16 +0100
commitc66d6f215e8303d4eaf8ccfdb6a58cff04ccc485 (patch)
tree6a42e95590dffe4fd5a88e1ba52e15ad4a879c92 /fish/fish.h
parentd600342b7d29c0176ff96a7807ebb38303ecb3a6 (diff)
downloadlibguestfs-c66d6f215e8303d4eaf8ccfdb6a58cff04ccc485.tar.gz
libguestfs-c66d6f215e8303d4eaf8ccfdb6a58cff04ccc485.tar.xz
libguestfs-c66d6f215e8303d4eaf8ccfdb6a58cff04ccc485.zip
Unify guestfish and guestmount options processing (RHBZ#642932).
In guestfish, factor out the processing of the options -a, -c, -d, -i, -m, -n, -r, -v, -V, -x into a separate set of files: options.c, options.h, inspect.c, virt.c. Change guestmount so that it uses these same files (from the ../fish directory) to process the same options. This unifies the handling of these options between the two programs. It also adds the useful inspection feature to guestmount, so you can now do: guestmount -d Guest -i --ro mnt/
Diffstat (limited to 'fish/fish.h')
-rw-r--r--fish/fish.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/fish/fish.h b/fish/fish.h
index b94277de..ac44bbf4 100644
--- a/fish/fish.h
+++ b/fish/fish.h
@@ -112,10 +112,6 @@ extern int run_edit (const char *cmd, size_t argc, char *argv[]);
/* in hexedit.c */
extern int run_hexedit (const char *cmd, size_t argc, char *argv[]);
-/* in inspect.c */
-extern void inspect_mount (void);
-extern void print_inspect_prompt (void);
-
/* in lcd.c */
extern int run_lcd (const char *cmd, size_t argc, char *argv[]);
@@ -141,7 +137,7 @@ extern prep_data *create_prepared_file (const char *type_string,
extern void prepare_drive (const char *filename, prep_data *data,
const char *device);
extern void prep_error (prep_data *data, const char *filename, const char *fs, ...) __attribute__((noreturn, format (printf,3,4)));
-extern void free_prep_data (prep_data *data);
+extern void free_prep_data (void *data);
/* in prep_lv.c */
extern int vg_lv_parse (const char *device, char **vg, char **lv);
@@ -167,9 +163,6 @@ extern int run_time (const char *cmd, size_t argc, char *argv[]);
/* in tilde.c */
extern char *try_tilde_expansion (char *path);
-/* in virt.c */
-extern int add_libvirt_drives (const char *guest);
-
/* This should just list all the built-in commands so they can
* be added to the generated auto-completion code.
*/