diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-22 21:02:49 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-22 21:02:49 +0100 |
commit | 79cdf81e2fb717ea4372a55170d16800cdbddf23 (patch) | |
tree | 42b91b69ef02a17c49de10944d249526d63698f6 /src/guestfs_protocol.c | |
parent | d7ffe439e8ec5304a1a2d1eb591d348c4ab84f38 (diff) | |
download | libguestfs-79cdf81e2fb717ea4372a55170d16800cdbddf23.tar.gz libguestfs-79cdf81e2fb717ea4372a55170d16800cdbddf23.tar.xz libguestfs-79cdf81e2fb717ea4372a55170d16800cdbddf23.zip |
Generated code for new mount_* commands.
Diffstat (limited to 'src/guestfs_protocol.c')
-rw-r--r-- | src/guestfs_protocol.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/guestfs_protocol.c b/src/guestfs_protocol.c index 8b88ad95..65eb5fca 100644 --- a/src/guestfs_protocol.c +++ b/src/guestfs_protocol.c @@ -1269,6 +1269,48 @@ xdr_guestfs_tgz_out_args (XDR *xdrs, guestfs_tgz_out_args *objp) } bool_t +xdr_guestfs_mount_ro_args (XDR *xdrs, guestfs_mount_ro_args *objp) +{ + register int32_t *buf; + + if (!xdr_string (xdrs, &objp->device, ~0)) + return FALSE; + if (!xdr_string (xdrs, &objp->mountpoint, ~0)) + return FALSE; + return TRUE; +} + +bool_t +xdr_guestfs_mount_options_args (XDR *xdrs, guestfs_mount_options_args *objp) +{ + register int32_t *buf; + + if (!xdr_string (xdrs, &objp->options, ~0)) + return FALSE; + if (!xdr_string (xdrs, &objp->device, ~0)) + return FALSE; + if (!xdr_string (xdrs, &objp->mountpoint, ~0)) + return FALSE; + return TRUE; +} + +bool_t +xdr_guestfs_mount_vfs_args (XDR *xdrs, guestfs_mount_vfs_args *objp) +{ + register int32_t *buf; + + if (!xdr_string (xdrs, &objp->options, ~0)) + return FALSE; + if (!xdr_string (xdrs, &objp->vfstype, ~0)) + return FALSE; + if (!xdr_string (xdrs, &objp->device, ~0)) + return FALSE; + if (!xdr_string (xdrs, &objp->mountpoint, ~0)) + return FALSE; + return TRUE; +} + +bool_t xdr_guestfs_procedure (XDR *xdrs, guestfs_procedure *objp) { register int32_t *buf; |