diff options
author | Richard Jones <rjones@redhat.com> | 2009-05-18 20:22:53 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-05-18 20:22:53 +0100 |
commit | ca49c50e06834bbc68e21630a5552c57494f2b53 (patch) | |
tree | 0d1c98fd038abf05d7491f044c8affbfb461ce00 /src/guestfs_protocol.h | |
parent | 0695593702b8612b500ff0b3bf800e5934f9b56e (diff) | |
download | libguestfs-ca49c50e06834bbc68e21630a5552c57494f2b53.tar.gz libguestfs-ca49c50e06834bbc68e21630a5552c57494f2b53.tar.xz libguestfs-ca49c50e06834bbc68e21630a5552c57494f2b53.zip |
Generated code for lvresize, resize2fs.
Diffstat (limited to 'src/guestfs_protocol.h')
-rw-r--r-- | src/guestfs_protocol.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/guestfs_protocol.h b/src/guestfs_protocol.h index 25ed3529..a34395a6 100644 --- a/src/guestfs_protocol.h +++ b/src/guestfs_protocol.h @@ -901,6 +901,17 @@ struct guestfs_vg_activate_args { }; typedef struct guestfs_vg_activate_args guestfs_vg_activate_args; +struct guestfs_lvresize_args { + char *device; + int mbytes; +}; +typedef struct guestfs_lvresize_args guestfs_lvresize_args; + +struct guestfs_resize2fs_args { + char *device; +}; +typedef struct guestfs_resize2fs_args guestfs_resize2fs_args; + enum guestfs_procedure { GUESTFS_PROC_MOUNT = 1, GUESTFS_PROC_SYNC = 2, @@ -1006,7 +1017,9 @@ enum guestfs_procedure { GUESTFS_PROC_SFDISK_DISK_GEOMETRY = 102, GUESTFS_PROC_VG_ACTIVATE_ALL = 103, GUESTFS_PROC_VG_ACTIVATE = 104, - GUESTFS_PROC_NR_PROCS = 104 + 1, + GUESTFS_PROC_LVRESIZE = 105, + GUESTFS_PROC_RESIZE2FS = 106, + GUESTFS_PROC_NR_PROCS = 106 + 1, }; typedef enum guestfs_procedure guestfs_procedure; #define GUESTFS_MESSAGE_MAX 4194304 @@ -1199,6 +1212,8 @@ extern bool_t xdr_guestfs_sfdisk_disk_geometry_args (XDR *, guestfs_sfdisk_disk extern bool_t xdr_guestfs_sfdisk_disk_geometry_ret (XDR *, guestfs_sfdisk_disk_geometry_ret*); extern bool_t xdr_guestfs_vg_activate_all_args (XDR *, guestfs_vg_activate_all_args*); extern bool_t xdr_guestfs_vg_activate_args (XDR *, guestfs_vg_activate_args*); +extern bool_t xdr_guestfs_lvresize_args (XDR *, guestfs_lvresize_args*); +extern bool_t xdr_guestfs_resize2fs_args (XDR *, guestfs_resize2fs_args*); 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*); @@ -1350,6 +1365,8 @@ extern bool_t xdr_guestfs_sfdisk_disk_geometry_args (); extern bool_t xdr_guestfs_sfdisk_disk_geometry_ret (); extern bool_t xdr_guestfs_vg_activate_all_args (); extern bool_t xdr_guestfs_vg_activate_args (); +extern bool_t xdr_guestfs_lvresize_args (); +extern bool_t xdr_guestfs_resize2fs_args (); extern bool_t xdr_guestfs_procedure (); extern bool_t xdr_guestfs_message_direction (); extern bool_t xdr_guestfs_message_status (); |