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 050d9282..6f135dbe 100644
--- a/src/guestfs_protocol.c
+++ b/src/guestfs_protocol.c
@@ -2171,6 +2171,27 @@ xdr_guestfs_du_ret (XDR *xdrs, guestfs_du_ret *objp)
}
bool_t
+xdr_guestfs_initrd_list_args (XDR *xdrs, guestfs_initrd_list_args *objp)
+{
+ register int32_t *buf;
+
+ if (!xdr_string (xdrs, &objp->path, ~0))
+ return FALSE;
+ return TRUE;
+}
+
+bool_t
+xdr_guestfs_initrd_list_ret (XDR *xdrs, guestfs_initrd_list_ret *objp)
+{
+ register int32_t *buf;
+
+ if (!xdr_array (xdrs, (char **)&objp->filenames.filenames_val, (u_int *) &objp->filenames.filenames_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;