X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Ffish.h;h=7c9c9555ed1c5d2b6cd9440c3f8c1babcac71446;hb=60cdd02b02578b427ca3926d566811c6bb7a9970;hp=be357f5d3a8a8cec215cfbf1923d39ab1cfba1b8;hpb=06c906168c0a96662ad47473cfe5f2fb3c316757;p=libguestfs.git diff --git a/fish/fish.h b/fish/fish.h index be357f5..7c9c955 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -116,12 +116,18 @@ extern int do_man (const char *cmd, int argc, char *argv[]); extern int do_more (const char *cmd, int argc, char *argv[]); /* in prep.c */ +struct prep_data { + const struct prep *prep; + const char *orig_type_string; + const char **params; +}; typedef struct prep_data prep_data; extern void list_prepared_drives (void); extern prep_data *create_prepared_file (const char *type_string, const char *filename); 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))); /* in progress.c */ extern void reset_progress_bar (void);