summaryrefslogtreecommitdiffstats
path: root/fish/fish.h
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-08-26 18:17:39 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-08-26 21:54:59 +0100
commit6146412f06c2f6f33c3ea7d571f16d4fe71dddb2 (patch)
treed9a6cbbbff64ff1371712d8856c589310b6c4c41 /fish/fish.h
parent0bd055316f8581f4da33b039e33d5f61cc00294c (diff)
downloadlibguestfs-6146412f06c2f6f33c3ea7d571f16d4fe71dddb2.tar.gz
libguestfs-6146412f06c2f6f33c3ea7d571f16d4fe71dddb2.tar.xz
libguestfs-6146412f06c2f6f33c3ea7d571f16d4fe71dddb2.zip
fish: Make progress bars into a mini library.
This library could now be called from other virt tools.
Diffstat (limited to 'fish/fish.h')
-rw-r--r--fish/fish.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/fish/fish.h b/fish/fish.h
index 8cf14a85..8c75a750 100644
--- a/fish/fish.h
+++ b/fish/fish.h
@@ -60,8 +60,6 @@ extern int read_only;
extern int quit;
extern int verbose;
extern int command_num;
-extern int utf8_mode;
-extern int have_terminfo;
extern int progress_bars;
extern int remote_control_csh;
extern const char *libvirt_uri;
@@ -82,6 +80,7 @@ extern char *file_in (const char *arg);
extern void free_file_in (char *s);
extern char *file_out (const char *arg);
extern void extended_help_message (void);
+extern void progress_callback (guestfs_h *g, void *data, uint64_t event, int event_handle, int flags, const char *buf, size_t buf_len, const uint64_t *array, size_t array_len);
/* in cmds.c (auto-generated) */
extern void list_commands (void);
@@ -121,10 +120,6 @@ extern void free_prep_data (void *data);
/* in prep_lv.c */
extern int vg_lv_parse (const char *device, char **vg, char **lv);
-/* in progress.c */
-extern void reset_progress_bar (void);
-extern void progress_callback (guestfs_h *g, void *data, uint64_t event, int event_handle, int flags, const char *buf, size_t buf_len, const uint64_t *array, size_t array_len);
-
/* in rc.c (remote control) */
extern void rc_listen (void) __attribute__((noreturn));
extern int rc_remote (int pid, const char *cmd, size_t argc, char *argv[],