X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fguestfs_protocol.c;h=fc88d05f3ea3cab7c973441bdc5a4a867d24e36b;hb=179778adeed965a9652c344a201d2078d868d391;hp=0a3fddc0b3ac2e875ce9d918e969b332d0ab1128;hpb=85ed8cef99c19b4143844991d14e0b848fecc5da;p=libguestfs.git diff --git a/src/guestfs_protocol.c b/src/guestfs_protocol.c index 0a3fddc..fc88d05 100644 --- a/src/guestfs_protocol.c +++ b/src/guestfs_protocol.c @@ -1786,6 +1786,91 @@ xdr_guestfs_vg_activate_args (XDR *xdrs, guestfs_vg_activate_args *objp) } bool_t +xdr_guestfs_lvresize_args (XDR *xdrs, guestfs_lvresize_args *objp) +{ + register int32_t *buf; + + if (!xdr_string (xdrs, &objp->device, ~0)) + return FALSE; + if (!xdr_int (xdrs, &objp->mbytes)) + return FALSE; + return TRUE; +} + +bool_t +xdr_guestfs_resize2fs_args (XDR *xdrs, guestfs_resize2fs_args *objp) +{ + register int32_t *buf; + + if (!xdr_string (xdrs, &objp->device, ~0)) + return FALSE; + return TRUE; +} + +bool_t +xdr_guestfs_find_args (XDR *xdrs, guestfs_find_args *objp) +{ + register int32_t *buf; + + if (!xdr_string (xdrs, &objp->directory, ~0)) + return FALSE; + return TRUE; +} + +bool_t +xdr_guestfs_find_ret (XDR *xdrs, guestfs_find_ret *objp) +{ + register int32_t *buf; + + if (!xdr_array (xdrs, (char **)&objp->names.names_val, (u_int *) &objp->names.names_len, ~0, + sizeof (str), (xdrproc_t) xdr_str)) + return FALSE; + return TRUE; +} + +bool_t +xdr_guestfs_e2fsck_f_args (XDR *xdrs, guestfs_e2fsck_f_args *objp) +{ + register int32_t *buf; + + if (!xdr_string (xdrs, &objp->device, ~0)) + return FALSE; + return TRUE; +} + +bool_t +xdr_guestfs_sleep_args (XDR *xdrs, guestfs_sleep_args *objp) +{ + register int32_t *buf; + + if (!xdr_int (xdrs, &objp->secs)) + return FALSE; + return TRUE; +} + +bool_t +xdr_guestfs_ntfs_3g_probe_args (XDR *xdrs, guestfs_ntfs_3g_probe_args *objp) +{ + register int32_t *buf; + + if (!xdr_bool (xdrs, &objp->rw)) + return FALSE; + if (!xdr_string (xdrs, &objp->device, ~0)) + return FALSE; + return TRUE; +} + +bool_t +xdr_guestfs_ntfs_3g_probe_ret (XDR *xdrs, guestfs_ntfs_3g_probe_ret *objp) +{ + register int32_t *buf; + + if (!xdr_int (xdrs, &objp->status)) + return FALSE; + return TRUE; +} + +bool_t xdr_guestfs_procedure (XDR *xdrs, guestfs_procedure *objp) { register int32_t *buf;