diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-30 18:57:07 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-30 18:57:07 +0100 |
commit | 0703248d233744047515418893dac05ce013a642 (patch) | |
tree | ead0b718136e64b179b9d46f3fc314cdd49f2149 /src/guestfs_protocol.h | |
parent | c69c3695303d5a660ad093a076c2e364ae6061de (diff) | |
download | libguestfs-0703248d233744047515418893dac05ce013a642.tar.gz libguestfs-0703248d233744047515418893dac05ce013a642.tar.xz libguestfs-0703248d233744047515418893dac05ce013a642.zip |
Add generated code for 'fsck' command.
Diffstat (limited to 'src/guestfs_protocol.h')
-rw-r--r-- | src/guestfs_protocol.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/guestfs_protocol.h b/src/guestfs_protocol.h index 90b0ede9..64e4b4db 100644 --- a/src/guestfs_protocol.h +++ b/src/guestfs_protocol.h @@ -739,6 +739,17 @@ struct guestfs_get_e2uuid_ret { }; typedef struct guestfs_get_e2uuid_ret guestfs_get_e2uuid_ret; +struct guestfs_fsck_args { + char *fstype; + char *device; +}; +typedef struct guestfs_fsck_args guestfs_fsck_args; + +struct guestfs_fsck_ret { + int status; +}; +typedef struct guestfs_fsck_ret guestfs_fsck_ret; + enum guestfs_procedure { GUESTFS_PROC_MOUNT = 1, GUESTFS_PROC_SYNC = 2, @@ -823,7 +834,8 @@ enum guestfs_procedure { GUESTFS_PROC_GET_E2LABEL = 81, GUESTFS_PROC_SET_E2UUID = 82, GUESTFS_PROC_GET_E2UUID = 83, - GUESTFS_PROC_NR_PROCS = 83 + 1, + GUESTFS_PROC_FSCK = 84, + GUESTFS_PROC_NR_PROCS = 84 + 1, }; typedef enum guestfs_procedure guestfs_procedure; #define GUESTFS_MESSAGE_MAX 4194304 @@ -988,6 +1000,8 @@ extern bool_t xdr_guestfs_get_e2label_ret (XDR *, guestfs_get_e2label_ret*); extern bool_t xdr_guestfs_set_e2uuid_args (XDR *, guestfs_set_e2uuid_args*); extern bool_t xdr_guestfs_get_e2uuid_args (XDR *, guestfs_get_e2uuid_args*); extern bool_t xdr_guestfs_get_e2uuid_ret (XDR *, guestfs_get_e2uuid_ret*); +extern bool_t xdr_guestfs_fsck_args (XDR *, guestfs_fsck_args*); +extern bool_t xdr_guestfs_fsck_ret (XDR *, guestfs_fsck_ret*); extern bool_t xdr_guestfs_procedure (XDR *, guestfs_procedure*); extern bool_t xdr_guestfs_message_direction (XDR *, guestfs_message_direction*); extern bool_t xdr_guestfs_message_status (XDR *, guestfs_message_status*); @@ -1111,6 +1125,8 @@ extern bool_t xdr_guestfs_get_e2label_ret (); extern bool_t xdr_guestfs_set_e2uuid_args (); extern bool_t xdr_guestfs_get_e2uuid_args (); extern bool_t xdr_guestfs_get_e2uuid_ret (); +extern bool_t xdr_guestfs_fsck_args (); +extern bool_t xdr_guestfs_fsck_ret (); extern bool_t xdr_guestfs_procedure (); extern bool_t xdr_guestfs_message_direction (); extern bool_t xdr_guestfs_message_status (); |