summaryrefslogtreecommitdiffstats
path: root/src/guestfs_protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/guestfs_protocol.c')
-rw-r--r--src/guestfs_protocol.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/guestfs_protocol.c b/src/guestfs_protocol.c
index c352cb40..c2e96da3 100644
--- a/src/guestfs_protocol.c
+++ b/src/guestfs_protocol.c
@@ -1808,6 +1808,27 @@ xdr_guestfs_resize2fs_args (XDR *xdrs, guestfs_resize2fs_args *objp)
}
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_procedure (XDR *xdrs, guestfs_procedure *objp)
{
register int32_t *buf;