2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #include "guestfs_protocol.h"
9 xdr_str (XDR *xdrs, str *objp)
11 register int32_t *buf;
13 if (!xdr_string (xdrs, objp, ~0))
19 xdr_guestfs_lvm_int_pv (XDR *xdrs, guestfs_lvm_int_pv *objp)
21 register int32_t *buf;
24 if (!xdr_string (xdrs, &objp->pv_name, ~0))
26 if (!xdr_opaque (xdrs, objp->pv_uuid, 32))
28 if (!xdr_string (xdrs, &objp->pv_fmt, ~0))
30 if (!xdr_quad_t (xdrs, &objp->pv_size))
32 if (!xdr_quad_t (xdrs, &objp->dev_size))
34 if (!xdr_quad_t (xdrs, &objp->pv_free))
36 if (!xdr_quad_t (xdrs, &objp->pv_used))
38 if (!xdr_string (xdrs, &objp->pv_attr, ~0))
40 if (!xdr_quad_t (xdrs, &objp->pv_pe_count))
42 if (!xdr_quad_t (xdrs, &objp->pv_pe_alloc_count))
44 if (!xdr_string (xdrs, &objp->pv_tags, ~0))
46 if (!xdr_quad_t (xdrs, &objp->pe_start))
48 if (!xdr_quad_t (xdrs, &objp->pv_mda_count))
50 if (!xdr_quad_t (xdrs, &objp->pv_mda_free))
56 xdr_guestfs_lvm_int_pv_list (XDR *xdrs, guestfs_lvm_int_pv_list *objp)
58 register int32_t *buf;
60 if (!xdr_array (xdrs, (char **)&objp->guestfs_lvm_int_pv_list_val, (u_int *) &objp->guestfs_lvm_int_pv_list_len, ~0,
61 sizeof (guestfs_lvm_int_pv), (xdrproc_t) xdr_guestfs_lvm_int_pv))
67 xdr_guestfs_lvm_int_vg (XDR *xdrs, guestfs_lvm_int_vg *objp)
69 register int32_t *buf;
72 if (!xdr_string (xdrs, &objp->vg_name, ~0))
74 if (!xdr_opaque (xdrs, objp->vg_uuid, 32))
76 if (!xdr_string (xdrs, &objp->vg_fmt, ~0))
78 if (!xdr_string (xdrs, &objp->vg_attr, ~0))
80 if (!xdr_quad_t (xdrs, &objp->vg_size))
82 if (!xdr_quad_t (xdrs, &objp->vg_free))
84 if (!xdr_string (xdrs, &objp->vg_sysid, ~0))
86 if (!xdr_quad_t (xdrs, &objp->vg_extent_size))
88 if (!xdr_quad_t (xdrs, &objp->vg_extent_count))
90 if (!xdr_quad_t (xdrs, &objp->vg_free_count))
92 if (!xdr_quad_t (xdrs, &objp->max_lv))
94 if (!xdr_quad_t (xdrs, &objp->max_pv))
96 if (!xdr_quad_t (xdrs, &objp->pv_count))
98 if (!xdr_quad_t (xdrs, &objp->lv_count))
100 if (!xdr_quad_t (xdrs, &objp->snap_count))
102 if (!xdr_quad_t (xdrs, &objp->vg_seqno))
104 if (!xdr_string (xdrs, &objp->vg_tags, ~0))
106 if (!xdr_quad_t (xdrs, &objp->vg_mda_count))
108 if (!xdr_quad_t (xdrs, &objp->vg_mda_free))
114 xdr_guestfs_lvm_int_vg_list (XDR *xdrs, guestfs_lvm_int_vg_list *objp)
116 register int32_t *buf;
118 if (!xdr_array (xdrs, (char **)&objp->guestfs_lvm_int_vg_list_val, (u_int *) &objp->guestfs_lvm_int_vg_list_len, ~0,
119 sizeof (guestfs_lvm_int_vg), (xdrproc_t) xdr_guestfs_lvm_int_vg))
125 xdr_guestfs_lvm_int_lv (XDR *xdrs, guestfs_lvm_int_lv *objp)
127 register int32_t *buf;
130 if (!xdr_string (xdrs, &objp->lv_name, ~0))
132 if (!xdr_opaque (xdrs, objp->lv_uuid, 32))
134 if (!xdr_string (xdrs, &objp->lv_attr, ~0))
136 if (!xdr_quad_t (xdrs, &objp->lv_major))
138 if (!xdr_quad_t (xdrs, &objp->lv_minor))
140 if (!xdr_quad_t (xdrs, &objp->lv_kernel_major))
142 if (!xdr_quad_t (xdrs, &objp->lv_kernel_minor))
144 if (!xdr_quad_t (xdrs, &objp->lv_size))
146 if (!xdr_quad_t (xdrs, &objp->seg_count))
148 if (!xdr_string (xdrs, &objp->origin, ~0))
150 if (!xdr_float (xdrs, &objp->snap_percent))
152 if (!xdr_float (xdrs, &objp->copy_percent))
154 if (!xdr_string (xdrs, &objp->move_pv, ~0))
156 if (!xdr_string (xdrs, &objp->lv_tags, ~0))
158 if (!xdr_string (xdrs, &objp->mirror_log, ~0))
160 if (!xdr_string (xdrs, &objp->modules, ~0))
166 xdr_guestfs_lvm_int_lv_list (XDR *xdrs, guestfs_lvm_int_lv_list *objp)
168 register int32_t *buf;
170 if (!xdr_array (xdrs, (char **)&objp->guestfs_lvm_int_lv_list_val, (u_int *) &objp->guestfs_lvm_int_lv_list_len, ~0,
171 sizeof (guestfs_lvm_int_lv), (xdrproc_t) xdr_guestfs_lvm_int_lv))
177 xdr_guestfs_int_stat (XDR *xdrs, guestfs_int_stat *objp)
179 register int32_t *buf;
181 if (!xdr_quad_t (xdrs, &objp->dev))
183 if (!xdr_quad_t (xdrs, &objp->ino))
185 if (!xdr_quad_t (xdrs, &objp->mode))
187 if (!xdr_quad_t (xdrs, &objp->nlink))
189 if (!xdr_quad_t (xdrs, &objp->uid))
191 if (!xdr_quad_t (xdrs, &objp->gid))
193 if (!xdr_quad_t (xdrs, &objp->rdev))
195 if (!xdr_quad_t (xdrs, &objp->size))
197 if (!xdr_quad_t (xdrs, &objp->blksize))
199 if (!xdr_quad_t (xdrs, &objp->blocks))
201 if (!xdr_quad_t (xdrs, &objp->atime))
203 if (!xdr_quad_t (xdrs, &objp->mtime))
205 if (!xdr_quad_t (xdrs, &objp->ctime))
211 xdr_guestfs_int_statvfs (XDR *xdrs, guestfs_int_statvfs *objp)
213 register int32_t *buf;
215 if (!xdr_quad_t (xdrs, &objp->bsize))
217 if (!xdr_quad_t (xdrs, &objp->frsize))
219 if (!xdr_quad_t (xdrs, &objp->blocks))
221 if (!xdr_quad_t (xdrs, &objp->bfree))
223 if (!xdr_quad_t (xdrs, &objp->bavail))
225 if (!xdr_quad_t (xdrs, &objp->files))
227 if (!xdr_quad_t (xdrs, &objp->ffree))
229 if (!xdr_quad_t (xdrs, &objp->favail))
231 if (!xdr_quad_t (xdrs, &objp->fsid))
233 if (!xdr_quad_t (xdrs, &objp->flag))
235 if (!xdr_quad_t (xdrs, &objp->namemax))
241 xdr_guestfs_mount_args (XDR *xdrs, guestfs_mount_args *objp)
243 register int32_t *buf;
245 if (!xdr_string (xdrs, &objp->device, ~0))
247 if (!xdr_string (xdrs, &objp->mountpoint, ~0))
253 xdr_guestfs_touch_args (XDR *xdrs, guestfs_touch_args *objp)
255 register int32_t *buf;
257 if (!xdr_string (xdrs, &objp->path, ~0))
263 xdr_guestfs_cat_args (XDR *xdrs, guestfs_cat_args *objp)
265 register int32_t *buf;
267 if (!xdr_string (xdrs, &objp->path, ~0))
273 xdr_guestfs_cat_ret (XDR *xdrs, guestfs_cat_ret *objp)
275 register int32_t *buf;
277 if (!xdr_string (xdrs, &objp->content, ~0))
283 xdr_guestfs_ll_args (XDR *xdrs, guestfs_ll_args *objp)
285 register int32_t *buf;
287 if (!xdr_string (xdrs, &objp->directory, ~0))
293 xdr_guestfs_ll_ret (XDR *xdrs, guestfs_ll_ret *objp)
295 register int32_t *buf;
297 if (!xdr_string (xdrs, &objp->listing, ~0))
303 xdr_guestfs_ls_args (XDR *xdrs, guestfs_ls_args *objp)
305 register int32_t *buf;
307 if (!xdr_string (xdrs, &objp->directory, ~0))
313 xdr_guestfs_ls_ret (XDR *xdrs, guestfs_ls_ret *objp)
315 register int32_t *buf;
317 if (!xdr_array (xdrs, (char **)&objp->listing.listing_val, (u_int *) &objp->listing.listing_len, ~0,
318 sizeof (str), (xdrproc_t) xdr_str))
324 xdr_guestfs_list_devices_ret (XDR *xdrs, guestfs_list_devices_ret *objp)
326 register int32_t *buf;
328 if (!xdr_array (xdrs, (char **)&objp->devices.devices_val, (u_int *) &objp->devices.devices_len, ~0,
329 sizeof (str), (xdrproc_t) xdr_str))
335 xdr_guestfs_list_partitions_ret (XDR *xdrs, guestfs_list_partitions_ret *objp)
337 register int32_t *buf;
339 if (!xdr_array (xdrs, (char **)&objp->partitions.partitions_val, (u_int *) &objp->partitions.partitions_len, ~0,
340 sizeof (str), (xdrproc_t) xdr_str))
346 xdr_guestfs_pvs_ret (XDR *xdrs, guestfs_pvs_ret *objp)
348 register int32_t *buf;
350 if (!xdr_array (xdrs, (char **)&objp->physvols.physvols_val, (u_int *) &objp->physvols.physvols_len, ~0,
351 sizeof (str), (xdrproc_t) xdr_str))
357 xdr_guestfs_vgs_ret (XDR *xdrs, guestfs_vgs_ret *objp)
359 register int32_t *buf;
361 if (!xdr_array (xdrs, (char **)&objp->volgroups.volgroups_val, (u_int *) &objp->volgroups.volgroups_len, ~0,
362 sizeof (str), (xdrproc_t) xdr_str))
368 xdr_guestfs_lvs_ret (XDR *xdrs, guestfs_lvs_ret *objp)
370 register int32_t *buf;
372 if (!xdr_array (xdrs, (char **)&objp->logvols.logvols_val, (u_int *) &objp->logvols.logvols_len, ~0,
373 sizeof (str), (xdrproc_t) xdr_str))
379 xdr_guestfs_pvs_full_ret (XDR *xdrs, guestfs_pvs_full_ret *objp)
381 register int32_t *buf;
383 if (!xdr_guestfs_lvm_int_pv_list (xdrs, &objp->physvols))
389 xdr_guestfs_vgs_full_ret (XDR *xdrs, guestfs_vgs_full_ret *objp)
391 register int32_t *buf;
393 if (!xdr_guestfs_lvm_int_vg_list (xdrs, &objp->volgroups))
399 xdr_guestfs_lvs_full_ret (XDR *xdrs, guestfs_lvs_full_ret *objp)
401 register int32_t *buf;
403 if (!xdr_guestfs_lvm_int_lv_list (xdrs, &objp->logvols))
409 xdr_guestfs_read_lines_args (XDR *xdrs, guestfs_read_lines_args *objp)
411 register int32_t *buf;
413 if (!xdr_string (xdrs, &objp->path, ~0))
419 xdr_guestfs_read_lines_ret (XDR *xdrs, guestfs_read_lines_ret *objp)
421 register int32_t *buf;
423 if (!xdr_array (xdrs, (char **)&objp->lines.lines_val, (u_int *) &objp->lines.lines_len, ~0,
424 sizeof (str), (xdrproc_t) xdr_str))
430 xdr_guestfs_aug_init_args (XDR *xdrs, guestfs_aug_init_args *objp)
432 register int32_t *buf;
434 if (!xdr_string (xdrs, &objp->root, ~0))
436 if (!xdr_int (xdrs, &objp->flags))
442 xdr_guestfs_aug_defvar_args (XDR *xdrs, guestfs_aug_defvar_args *objp)
444 register int32_t *buf;
446 if (!xdr_string (xdrs, &objp->name, ~0))
448 if (!xdr_pointer (xdrs, (char **)&objp->expr, sizeof (str), (xdrproc_t) xdr_str))
454 xdr_guestfs_aug_defvar_ret (XDR *xdrs, guestfs_aug_defvar_ret *objp)
456 register int32_t *buf;
458 if (!xdr_int (xdrs, &objp->nrnodes))
464 xdr_guestfs_aug_defnode_args (XDR *xdrs, guestfs_aug_defnode_args *objp)
466 register int32_t *buf;
468 if (!xdr_string (xdrs, &objp->name, ~0))
470 if (!xdr_string (xdrs, &objp->expr, ~0))
472 if (!xdr_string (xdrs, &objp->val, ~0))
478 xdr_guestfs_aug_defnode_ret (XDR *xdrs, guestfs_aug_defnode_ret *objp)
480 register int32_t *buf;
482 if (!xdr_int (xdrs, &objp->nrnodes))
484 if (!xdr_bool (xdrs, &objp->created))
490 xdr_guestfs_aug_get_args (XDR *xdrs, guestfs_aug_get_args *objp)
492 register int32_t *buf;
494 if (!xdr_string (xdrs, &objp->path, ~0))
500 xdr_guestfs_aug_get_ret (XDR *xdrs, guestfs_aug_get_ret *objp)
502 register int32_t *buf;
504 if (!xdr_string (xdrs, &objp->val, ~0))
510 xdr_guestfs_aug_set_args (XDR *xdrs, guestfs_aug_set_args *objp)
512 register int32_t *buf;
514 if (!xdr_string (xdrs, &objp->path, ~0))
516 if (!xdr_string (xdrs, &objp->val, ~0))
522 xdr_guestfs_aug_insert_args (XDR *xdrs, guestfs_aug_insert_args *objp)
524 register int32_t *buf;
526 if (!xdr_string (xdrs, &objp->path, ~0))
528 if (!xdr_string (xdrs, &objp->label, ~0))
530 if (!xdr_bool (xdrs, &objp->before))
536 xdr_guestfs_aug_rm_args (XDR *xdrs, guestfs_aug_rm_args *objp)
538 register int32_t *buf;
540 if (!xdr_string (xdrs, &objp->path, ~0))
546 xdr_guestfs_aug_rm_ret (XDR *xdrs, guestfs_aug_rm_ret *objp)
548 register int32_t *buf;
550 if (!xdr_int (xdrs, &objp->nrnodes))
556 xdr_guestfs_aug_mv_args (XDR *xdrs, guestfs_aug_mv_args *objp)
558 register int32_t *buf;
560 if (!xdr_string (xdrs, &objp->src, ~0))
562 if (!xdr_string (xdrs, &objp->dest, ~0))
568 xdr_guestfs_aug_match_args (XDR *xdrs, guestfs_aug_match_args *objp)
570 register int32_t *buf;
572 if (!xdr_string (xdrs, &objp->path, ~0))
578 xdr_guestfs_aug_match_ret (XDR *xdrs, guestfs_aug_match_ret *objp)
580 register int32_t *buf;
582 if (!xdr_array (xdrs, (char **)&objp->matches.matches_val, (u_int *) &objp->matches.matches_len, ~0,
583 sizeof (str), (xdrproc_t) xdr_str))
589 xdr_guestfs_aug_ls_args (XDR *xdrs, guestfs_aug_ls_args *objp)
591 register int32_t *buf;
593 if (!xdr_string (xdrs, &objp->path, ~0))
599 xdr_guestfs_aug_ls_ret (XDR *xdrs, guestfs_aug_ls_ret *objp)
601 register int32_t *buf;
603 if (!xdr_array (xdrs, (char **)&objp->matches.matches_val, (u_int *) &objp->matches.matches_len, ~0,
604 sizeof (str), (xdrproc_t) xdr_str))
610 xdr_guestfs_rm_args (XDR *xdrs, guestfs_rm_args *objp)
612 register int32_t *buf;
614 if (!xdr_string (xdrs, &objp->path, ~0))
620 xdr_guestfs_rmdir_args (XDR *xdrs, guestfs_rmdir_args *objp)
622 register int32_t *buf;
624 if (!xdr_string (xdrs, &objp->path, ~0))
630 xdr_guestfs_rm_rf_args (XDR *xdrs, guestfs_rm_rf_args *objp)
632 register int32_t *buf;
634 if (!xdr_string (xdrs, &objp->path, ~0))
640 xdr_guestfs_mkdir_args (XDR *xdrs, guestfs_mkdir_args *objp)
642 register int32_t *buf;
644 if (!xdr_string (xdrs, &objp->path, ~0))
650 xdr_guestfs_mkdir_p_args (XDR *xdrs, guestfs_mkdir_p_args *objp)
652 register int32_t *buf;
654 if (!xdr_string (xdrs, &objp->path, ~0))
660 xdr_guestfs_chmod_args (XDR *xdrs, guestfs_chmod_args *objp)
662 register int32_t *buf;
664 if (!xdr_int (xdrs, &objp->mode))
666 if (!xdr_string (xdrs, &objp->path, ~0))
672 xdr_guestfs_chown_args (XDR *xdrs, guestfs_chown_args *objp)
674 register int32_t *buf;
676 if (!xdr_int (xdrs, &objp->owner))
678 if (!xdr_int (xdrs, &objp->group))
680 if (!xdr_string (xdrs, &objp->path, ~0))
686 xdr_guestfs_exists_args (XDR *xdrs, guestfs_exists_args *objp)
688 register int32_t *buf;
690 if (!xdr_string (xdrs, &objp->path, ~0))
696 xdr_guestfs_exists_ret (XDR *xdrs, guestfs_exists_ret *objp)
698 register int32_t *buf;
700 if (!xdr_bool (xdrs, &objp->existsflag))
706 xdr_guestfs_is_file_args (XDR *xdrs, guestfs_is_file_args *objp)
708 register int32_t *buf;
710 if (!xdr_string (xdrs, &objp->path, ~0))
716 xdr_guestfs_is_file_ret (XDR *xdrs, guestfs_is_file_ret *objp)
718 register int32_t *buf;
720 if (!xdr_bool (xdrs, &objp->fileflag))
726 xdr_guestfs_is_dir_args (XDR *xdrs, guestfs_is_dir_args *objp)
728 register int32_t *buf;
730 if (!xdr_string (xdrs, &objp->path, ~0))
736 xdr_guestfs_is_dir_ret (XDR *xdrs, guestfs_is_dir_ret *objp)
738 register int32_t *buf;
740 if (!xdr_bool (xdrs, &objp->dirflag))
746 xdr_guestfs_pvcreate_args (XDR *xdrs, guestfs_pvcreate_args *objp)
748 register int32_t *buf;
750 if (!xdr_string (xdrs, &objp->device, ~0))
756 xdr_guestfs_vgcreate_args (XDR *xdrs, guestfs_vgcreate_args *objp)
758 register int32_t *buf;
760 if (!xdr_string (xdrs, &objp->volgroup, ~0))
762 if (!xdr_array (xdrs, (char **)&objp->physvols.physvols_val, (u_int *) &objp->physvols.physvols_len, ~0,
763 sizeof (str), (xdrproc_t) xdr_str))
769 xdr_guestfs_lvcreate_args (XDR *xdrs, guestfs_lvcreate_args *objp)
771 register int32_t *buf;
773 if (!xdr_string (xdrs, &objp->logvol, ~0))
775 if (!xdr_string (xdrs, &objp->volgroup, ~0))
777 if (!xdr_int (xdrs, &objp->mbytes))
783 xdr_guestfs_mkfs_args (XDR *xdrs, guestfs_mkfs_args *objp)
785 register int32_t *buf;
787 if (!xdr_string (xdrs, &objp->fstype, ~0))
789 if (!xdr_string (xdrs, &objp->device, ~0))
795 xdr_guestfs_sfdisk_args (XDR *xdrs, guestfs_sfdisk_args *objp)
797 register int32_t *buf;
800 if (xdrs->x_op == XDR_ENCODE) {
801 if (!xdr_string (xdrs, &objp->device, ~0))
803 buf = XDR_INLINE (xdrs, 3 * BYTES_PER_XDR_UNIT);
805 if (!xdr_int (xdrs, &objp->cyls))
807 if (!xdr_int (xdrs, &objp->heads))
809 if (!xdr_int (xdrs, &objp->sectors))
813 IXDR_PUT_LONG(buf, objp->cyls);
814 IXDR_PUT_LONG(buf, objp->heads);
815 IXDR_PUT_LONG(buf, objp->sectors);
817 if (!xdr_array (xdrs, (char **)&objp->lines.lines_val, (u_int *) &objp->lines.lines_len, ~0,
818 sizeof (str), (xdrproc_t) xdr_str))
821 } else if (xdrs->x_op == XDR_DECODE) {
822 if (!xdr_string (xdrs, &objp->device, ~0))
824 buf = XDR_INLINE (xdrs, 3 * BYTES_PER_XDR_UNIT);
826 if (!xdr_int (xdrs, &objp->cyls))
828 if (!xdr_int (xdrs, &objp->heads))
830 if (!xdr_int (xdrs, &objp->sectors))
834 objp->cyls = IXDR_GET_LONG(buf);
835 objp->heads = IXDR_GET_LONG(buf);
836 objp->sectors = IXDR_GET_LONG(buf);
838 if (!xdr_array (xdrs, (char **)&objp->lines.lines_val, (u_int *) &objp->lines.lines_len, ~0,
839 sizeof (str), (xdrproc_t) xdr_str))
844 if (!xdr_string (xdrs, &objp->device, ~0))
846 if (!xdr_int (xdrs, &objp->cyls))
848 if (!xdr_int (xdrs, &objp->heads))
850 if (!xdr_int (xdrs, &objp->sectors))
852 if (!xdr_array (xdrs, (char **)&objp->lines.lines_val, (u_int *) &objp->lines.lines_len, ~0,
853 sizeof (str), (xdrproc_t) xdr_str))
859 xdr_guestfs_write_file_args (XDR *xdrs, guestfs_write_file_args *objp)
861 register int32_t *buf;
863 if (!xdr_string (xdrs, &objp->path, ~0))
865 if (!xdr_string (xdrs, &objp->content, ~0))
867 if (!xdr_int (xdrs, &objp->size))
873 xdr_guestfs_umount_args (XDR *xdrs, guestfs_umount_args *objp)
875 register int32_t *buf;
877 if (!xdr_string (xdrs, &objp->pathordevice, ~0))
883 xdr_guestfs_mounts_ret (XDR *xdrs, guestfs_mounts_ret *objp)
885 register int32_t *buf;
887 if (!xdr_array (xdrs, (char **)&objp->devices.devices_val, (u_int *) &objp->devices.devices_len, ~0,
888 sizeof (str), (xdrproc_t) xdr_str))
894 xdr_guestfs_file_args (XDR *xdrs, guestfs_file_args *objp)
896 register int32_t *buf;
898 if (!xdr_string (xdrs, &objp->path, ~0))
904 xdr_guestfs_file_ret (XDR *xdrs, guestfs_file_ret *objp)
906 register int32_t *buf;
908 if (!xdr_string (xdrs, &objp->description, ~0))
914 xdr_guestfs_command_args (XDR *xdrs, guestfs_command_args *objp)
916 register int32_t *buf;
918 if (!xdr_array (xdrs, (char **)&objp->arguments.arguments_val, (u_int *) &objp->arguments.arguments_len, ~0,
919 sizeof (str), (xdrproc_t) xdr_str))
925 xdr_guestfs_command_ret (XDR *xdrs, guestfs_command_ret *objp)
927 register int32_t *buf;
929 if (!xdr_string (xdrs, &objp->output, ~0))
935 xdr_guestfs_command_lines_args (XDR *xdrs, guestfs_command_lines_args *objp)
937 register int32_t *buf;
939 if (!xdr_array (xdrs, (char **)&objp->arguments.arguments_val, (u_int *) &objp->arguments.arguments_len, ~0,
940 sizeof (str), (xdrproc_t) xdr_str))
946 xdr_guestfs_command_lines_ret (XDR *xdrs, guestfs_command_lines_ret *objp)
948 register int32_t *buf;
950 if (!xdr_array (xdrs, (char **)&objp->lines.lines_val, (u_int *) &objp->lines.lines_len, ~0,
951 sizeof (str), (xdrproc_t) xdr_str))
957 xdr_guestfs_stat_args (XDR *xdrs, guestfs_stat_args *objp)
959 register int32_t *buf;
961 if (!xdr_string (xdrs, &objp->path, ~0))
967 xdr_guestfs_stat_ret (XDR *xdrs, guestfs_stat_ret *objp)
969 register int32_t *buf;
971 if (!xdr_guestfs_int_stat (xdrs, &objp->statbuf))
977 xdr_guestfs_lstat_args (XDR *xdrs, guestfs_lstat_args *objp)
979 register int32_t *buf;
981 if (!xdr_string (xdrs, &objp->path, ~0))
987 xdr_guestfs_lstat_ret (XDR *xdrs, guestfs_lstat_ret *objp)
989 register int32_t *buf;
991 if (!xdr_guestfs_int_stat (xdrs, &objp->statbuf))
997 xdr_guestfs_statvfs_args (XDR *xdrs, guestfs_statvfs_args *objp)
999 register int32_t *buf;
1001 if (!xdr_string (xdrs, &objp->path, ~0))
1007 xdr_guestfs_statvfs_ret (XDR *xdrs, guestfs_statvfs_ret *objp)
1009 register int32_t *buf;
1011 if (!xdr_guestfs_int_statvfs (xdrs, &objp->statbuf))
1017 xdr_guestfs_tune2fs_l_args (XDR *xdrs, guestfs_tune2fs_l_args *objp)
1019 register int32_t *buf;
1021 if (!xdr_string (xdrs, &objp->device, ~0))
1027 xdr_guestfs_tune2fs_l_ret (XDR *xdrs, guestfs_tune2fs_l_ret *objp)
1029 register int32_t *buf;
1031 if (!xdr_array (xdrs, (char **)&objp->superblock.superblock_val, (u_int *) &objp->superblock.superblock_len, ~0,
1032 sizeof (str), (xdrproc_t) xdr_str))
1038 xdr_guestfs_blockdev_setro_args (XDR *xdrs, guestfs_blockdev_setro_args *objp)
1040 register int32_t *buf;
1042 if (!xdr_string (xdrs, &objp->device, ~0))
1048 xdr_guestfs_blockdev_setrw_args (XDR *xdrs, guestfs_blockdev_setrw_args *objp)
1050 register int32_t *buf;
1052 if (!xdr_string (xdrs, &objp->device, ~0))
1058 xdr_guestfs_blockdev_getro_args (XDR *xdrs, guestfs_blockdev_getro_args *objp)
1060 register int32_t *buf;
1062 if (!xdr_string (xdrs, &objp->device, ~0))
1068 xdr_guestfs_blockdev_getro_ret (XDR *xdrs, guestfs_blockdev_getro_ret *objp)
1070 register int32_t *buf;
1072 if (!xdr_bool (xdrs, &objp->ro))
1078 xdr_guestfs_blockdev_getss_args (XDR *xdrs, guestfs_blockdev_getss_args *objp)
1080 register int32_t *buf;
1082 if (!xdr_string (xdrs, &objp->device, ~0))
1088 xdr_guestfs_blockdev_getss_ret (XDR *xdrs, guestfs_blockdev_getss_ret *objp)
1090 register int32_t *buf;
1092 if (!xdr_int (xdrs, &objp->sectorsize))
1098 xdr_guestfs_blockdev_getbsz_args (XDR *xdrs, guestfs_blockdev_getbsz_args *objp)
1100 register int32_t *buf;
1102 if (!xdr_string (xdrs, &objp->device, ~0))
1108 xdr_guestfs_blockdev_getbsz_ret (XDR *xdrs, guestfs_blockdev_getbsz_ret *objp)
1110 register int32_t *buf;
1112 if (!xdr_int (xdrs, &objp->blocksize))
1118 xdr_guestfs_blockdev_setbsz_args (XDR *xdrs, guestfs_blockdev_setbsz_args *objp)
1120 register int32_t *buf;
1122 if (!xdr_string (xdrs, &objp->device, ~0))
1124 if (!xdr_int (xdrs, &objp->blocksize))
1130 xdr_guestfs_blockdev_getsz_args (XDR *xdrs, guestfs_blockdev_getsz_args *objp)
1132 register int32_t *buf;
1134 if (!xdr_string (xdrs, &objp->device, ~0))
1140 xdr_guestfs_blockdev_getsz_ret (XDR *xdrs, guestfs_blockdev_getsz_ret *objp)
1142 register int32_t *buf;
1144 if (!xdr_quad_t (xdrs, &objp->sizeinsectors))
1150 xdr_guestfs_blockdev_getsize64_args (XDR *xdrs, guestfs_blockdev_getsize64_args *objp)
1152 register int32_t *buf;
1154 if (!xdr_string (xdrs, &objp->device, ~0))
1160 xdr_guestfs_blockdev_getsize64_ret (XDR *xdrs, guestfs_blockdev_getsize64_ret *objp)
1162 register int32_t *buf;
1164 if (!xdr_quad_t (xdrs, &objp->sizeinbytes))
1170 xdr_guestfs_blockdev_flushbufs_args (XDR *xdrs, guestfs_blockdev_flushbufs_args *objp)
1172 register int32_t *buf;
1174 if (!xdr_string (xdrs, &objp->device, ~0))
1180 xdr_guestfs_blockdev_rereadpt_args (XDR *xdrs, guestfs_blockdev_rereadpt_args *objp)
1182 register int32_t *buf;
1184 if (!xdr_string (xdrs, &objp->device, ~0))
1190 xdr_guestfs_upload_args (XDR *xdrs, guestfs_upload_args *objp)
1192 register int32_t *buf;
1194 if (!xdr_string (xdrs, &objp->remotefilename, ~0))
1200 xdr_guestfs_download_args (XDR *xdrs, guestfs_download_args *objp)
1202 register int32_t *buf;
1204 if (!xdr_string (xdrs, &objp->remotefilename, ~0))
1210 xdr_guestfs_checksum_args (XDR *xdrs, guestfs_checksum_args *objp)
1212 register int32_t *buf;
1214 if (!xdr_string (xdrs, &objp->csumtype, ~0))
1216 if (!xdr_string (xdrs, &objp->path, ~0))
1222 xdr_guestfs_checksum_ret (XDR *xdrs, guestfs_checksum_ret *objp)
1224 register int32_t *buf;
1226 if (!xdr_string (xdrs, &objp->checksum, ~0))
1232 xdr_guestfs_tar_in_args (XDR *xdrs, guestfs_tar_in_args *objp)
1234 register int32_t *buf;
1236 if (!xdr_string (xdrs, &objp->directory, ~0))
1242 xdr_guestfs_tar_out_args (XDR *xdrs, guestfs_tar_out_args *objp)
1244 register int32_t *buf;
1246 if (!xdr_string (xdrs, &objp->directory, ~0))
1252 xdr_guestfs_tgz_in_args (XDR *xdrs, guestfs_tgz_in_args *objp)
1254 register int32_t *buf;
1256 if (!xdr_string (xdrs, &objp->directory, ~0))
1262 xdr_guestfs_tgz_out_args (XDR *xdrs, guestfs_tgz_out_args *objp)
1264 register int32_t *buf;
1266 if (!xdr_string (xdrs, &objp->directory, ~0))
1272 xdr_guestfs_mount_ro_args (XDR *xdrs, guestfs_mount_ro_args *objp)
1274 register int32_t *buf;
1276 if (!xdr_string (xdrs, &objp->device, ~0))
1278 if (!xdr_string (xdrs, &objp->mountpoint, ~0))
1284 xdr_guestfs_mount_options_args (XDR *xdrs, guestfs_mount_options_args *objp)
1286 register int32_t *buf;
1288 if (!xdr_string (xdrs, &objp->options, ~0))
1290 if (!xdr_string (xdrs, &objp->device, ~0))
1292 if (!xdr_string (xdrs, &objp->mountpoint, ~0))
1298 xdr_guestfs_mount_vfs_args (XDR *xdrs, guestfs_mount_vfs_args *objp)
1300 register int32_t *buf;
1302 if (!xdr_string (xdrs, &objp->options, ~0))
1304 if (!xdr_string (xdrs, &objp->vfstype, ~0))
1306 if (!xdr_string (xdrs, &objp->device, ~0))
1308 if (!xdr_string (xdrs, &objp->mountpoint, ~0))
1314 xdr_guestfs_debug_args (XDR *xdrs, guestfs_debug_args *objp)
1316 register int32_t *buf;
1318 if (!xdr_string (xdrs, &objp->subcmd, ~0))
1320 if (!xdr_array (xdrs, (char **)&objp->extraargs.extraargs_val, (u_int *) &objp->extraargs.extraargs_len, ~0,
1321 sizeof (str), (xdrproc_t) xdr_str))
1327 xdr_guestfs_debug_ret (XDR *xdrs, guestfs_debug_ret *objp)
1329 register int32_t *buf;
1331 if (!xdr_string (xdrs, &objp->result, ~0))
1337 xdr_guestfs_lvremove_args (XDR *xdrs, guestfs_lvremove_args *objp)
1339 register int32_t *buf;
1341 if (!xdr_string (xdrs, &objp->device, ~0))
1347 xdr_guestfs_vgremove_args (XDR *xdrs, guestfs_vgremove_args *objp)
1349 register int32_t *buf;
1351 if (!xdr_string (xdrs, &objp->vgname, ~0))
1357 xdr_guestfs_pvremove_args (XDR *xdrs, guestfs_pvremove_args *objp)
1359 register int32_t *buf;
1361 if (!xdr_string (xdrs, &objp->device, ~0))
1367 xdr_guestfs_set_e2label_args (XDR *xdrs, guestfs_set_e2label_args *objp)
1369 register int32_t *buf;
1371 if (!xdr_string (xdrs, &objp->device, ~0))
1373 if (!xdr_string (xdrs, &objp->label, ~0))
1379 xdr_guestfs_get_e2label_args (XDR *xdrs, guestfs_get_e2label_args *objp)
1381 register int32_t *buf;
1383 if (!xdr_string (xdrs, &objp->device, ~0))
1389 xdr_guestfs_get_e2label_ret (XDR *xdrs, guestfs_get_e2label_ret *objp)
1391 register int32_t *buf;
1393 if (!xdr_string (xdrs, &objp->label, ~0))
1399 xdr_guestfs_set_e2uuid_args (XDR *xdrs, guestfs_set_e2uuid_args *objp)
1401 register int32_t *buf;
1403 if (!xdr_string (xdrs, &objp->device, ~0))
1405 if (!xdr_string (xdrs, &objp->uuid, ~0))
1411 xdr_guestfs_get_e2uuid_args (XDR *xdrs, guestfs_get_e2uuid_args *objp)
1413 register int32_t *buf;
1415 if (!xdr_string (xdrs, &objp->device, ~0))
1421 xdr_guestfs_get_e2uuid_ret (XDR *xdrs, guestfs_get_e2uuid_ret *objp)
1423 register int32_t *buf;
1425 if (!xdr_string (xdrs, &objp->uuid, ~0))
1431 xdr_guestfs_fsck_args (XDR *xdrs, guestfs_fsck_args *objp)
1433 register int32_t *buf;
1435 if (!xdr_string (xdrs, &objp->fstype, ~0))
1437 if (!xdr_string (xdrs, &objp->device, ~0))
1443 xdr_guestfs_fsck_ret (XDR *xdrs, guestfs_fsck_ret *objp)
1445 register int32_t *buf;
1447 if (!xdr_int (xdrs, &objp->status))
1453 xdr_guestfs_zero_args (XDR *xdrs, guestfs_zero_args *objp)
1455 register int32_t *buf;
1457 if (!xdr_string (xdrs, &objp->device, ~0))
1463 xdr_guestfs_grub_install_args (XDR *xdrs, guestfs_grub_install_args *objp)
1465 register int32_t *buf;
1467 if (!xdr_string (xdrs, &objp->root, ~0))
1469 if (!xdr_string (xdrs, &objp->device, ~0))
1475 xdr_guestfs_cp_args (XDR *xdrs, guestfs_cp_args *objp)
1477 register int32_t *buf;
1479 if (!xdr_string (xdrs, &objp->src, ~0))
1481 if (!xdr_string (xdrs, &objp->dest, ~0))
1487 xdr_guestfs_cp_a_args (XDR *xdrs, guestfs_cp_a_args *objp)
1489 register int32_t *buf;
1491 if (!xdr_string (xdrs, &objp->src, ~0))
1493 if (!xdr_string (xdrs, &objp->dest, ~0))
1499 xdr_guestfs_mv_args (XDR *xdrs, guestfs_mv_args *objp)
1501 register int32_t *buf;
1503 if (!xdr_string (xdrs, &objp->src, ~0))
1505 if (!xdr_string (xdrs, &objp->dest, ~0))
1511 xdr_guestfs_drop_caches_args (XDR *xdrs, guestfs_drop_caches_args *objp)
1513 register int32_t *buf;
1515 if (!xdr_int (xdrs, &objp->whattodrop))
1521 xdr_guestfs_dmesg_ret (XDR *xdrs, guestfs_dmesg_ret *objp)
1523 register int32_t *buf;
1525 if (!xdr_string (xdrs, &objp->kmsgs, ~0))
1531 xdr_guestfs_equal_args (XDR *xdrs, guestfs_equal_args *objp)
1533 register int32_t *buf;
1535 if (!xdr_string (xdrs, &objp->file1, ~0))
1537 if (!xdr_string (xdrs, &objp->file2, ~0))
1543 xdr_guestfs_equal_ret (XDR *xdrs, guestfs_equal_ret *objp)
1545 register int32_t *buf;
1547 if (!xdr_bool (xdrs, &objp->equality))
1553 xdr_guestfs_strings_args (XDR *xdrs, guestfs_strings_args *objp)
1555 register int32_t *buf;
1557 if (!xdr_string (xdrs, &objp->path, ~0))
1563 xdr_guestfs_strings_ret (XDR *xdrs, guestfs_strings_ret *objp)
1565 register int32_t *buf;
1567 if (!xdr_array (xdrs, (char **)&objp->stringsout.stringsout_val, (u_int *) &objp->stringsout.stringsout_len, ~0,
1568 sizeof (str), (xdrproc_t) xdr_str))
1574 xdr_guestfs_strings_e_args (XDR *xdrs, guestfs_strings_e_args *objp)
1576 register int32_t *buf;
1578 if (!xdr_string (xdrs, &objp->encoding, ~0))
1580 if (!xdr_string (xdrs, &objp->path, ~0))
1586 xdr_guestfs_strings_e_ret (XDR *xdrs, guestfs_strings_e_ret *objp)
1588 register int32_t *buf;
1590 if (!xdr_array (xdrs, (char **)&objp->stringsout.stringsout_val, (u_int *) &objp->stringsout.stringsout_len, ~0,
1591 sizeof (str), (xdrproc_t) xdr_str))
1597 xdr_guestfs_hexdump_args (XDR *xdrs, guestfs_hexdump_args *objp)
1599 register int32_t *buf;
1601 if (!xdr_string (xdrs, &objp->path, ~0))
1607 xdr_guestfs_hexdump_ret (XDR *xdrs, guestfs_hexdump_ret *objp)
1609 register int32_t *buf;
1611 if (!xdr_string (xdrs, &objp->dump, ~0))
1617 xdr_guestfs_zerofree_args (XDR *xdrs, guestfs_zerofree_args *objp)
1619 register int32_t *buf;
1621 if (!xdr_string (xdrs, &objp->device, ~0))
1627 xdr_guestfs_pvresize_args (XDR *xdrs, guestfs_pvresize_args *objp)
1629 register int32_t *buf;
1631 if (!xdr_string (xdrs, &objp->device, ~0))
1637 xdr_guestfs_sfdisk_N_args (XDR *xdrs, guestfs_sfdisk_N_args *objp)
1639 register int32_t *buf;
1642 if (xdrs->x_op == XDR_ENCODE) {
1643 if (!xdr_string (xdrs, &objp->device, ~0))
1645 buf = XDR_INLINE (xdrs, 4 * BYTES_PER_XDR_UNIT);
1647 if (!xdr_int (xdrs, &objp->n))
1649 if (!xdr_int (xdrs, &objp->cyls))
1651 if (!xdr_int (xdrs, &objp->heads))
1653 if (!xdr_int (xdrs, &objp->sectors))
1657 IXDR_PUT_LONG(buf, objp->n);
1658 IXDR_PUT_LONG(buf, objp->cyls);
1659 IXDR_PUT_LONG(buf, objp->heads);
1660 IXDR_PUT_LONG(buf, objp->sectors);
1662 if (!xdr_string (xdrs, &objp->line, ~0))
1665 } else if (xdrs->x_op == XDR_DECODE) {
1666 if (!xdr_string (xdrs, &objp->device, ~0))
1668 buf = XDR_INLINE (xdrs, 4 * BYTES_PER_XDR_UNIT);
1670 if (!xdr_int (xdrs, &objp->n))
1672 if (!xdr_int (xdrs, &objp->cyls))
1674 if (!xdr_int (xdrs, &objp->heads))
1676 if (!xdr_int (xdrs, &objp->sectors))
1680 objp->n = IXDR_GET_LONG(buf);
1681 objp->cyls = IXDR_GET_LONG(buf);
1682 objp->heads = IXDR_GET_LONG(buf);
1683 objp->sectors = IXDR_GET_LONG(buf);
1685 if (!xdr_string (xdrs, &objp->line, ~0))
1690 if (!xdr_string (xdrs, &objp->device, ~0))
1692 if (!xdr_int (xdrs, &objp->n))
1694 if (!xdr_int (xdrs, &objp->cyls))
1696 if (!xdr_int (xdrs, &objp->heads))
1698 if (!xdr_int (xdrs, &objp->sectors))
1700 if (!xdr_string (xdrs, &objp->line, ~0))
1706 xdr_guestfs_sfdisk_l_args (XDR *xdrs, guestfs_sfdisk_l_args *objp)
1708 register int32_t *buf;
1710 if (!xdr_string (xdrs, &objp->device, ~0))
1716 xdr_guestfs_sfdisk_l_ret (XDR *xdrs, guestfs_sfdisk_l_ret *objp)
1718 register int32_t *buf;
1720 if (!xdr_string (xdrs, &objp->partitions, ~0))
1726 xdr_guestfs_sfdisk_kernel_geometry_args (XDR *xdrs, guestfs_sfdisk_kernel_geometry_args *objp)
1728 register int32_t *buf;
1730 if (!xdr_string (xdrs, &objp->device, ~0))
1736 xdr_guestfs_sfdisk_kernel_geometry_ret (XDR *xdrs, guestfs_sfdisk_kernel_geometry_ret *objp)
1738 register int32_t *buf;
1740 if (!xdr_string (xdrs, &objp->partitions, ~0))
1746 xdr_guestfs_sfdisk_disk_geometry_args (XDR *xdrs, guestfs_sfdisk_disk_geometry_args *objp)
1748 register int32_t *buf;
1750 if (!xdr_string (xdrs, &objp->device, ~0))
1756 xdr_guestfs_sfdisk_disk_geometry_ret (XDR *xdrs, guestfs_sfdisk_disk_geometry_ret *objp)
1758 register int32_t *buf;
1760 if (!xdr_string (xdrs, &objp->partitions, ~0))
1766 xdr_guestfs_vg_activate_all_args (XDR *xdrs, guestfs_vg_activate_all_args *objp)
1768 register int32_t *buf;
1770 if (!xdr_bool (xdrs, &objp->activate))
1776 xdr_guestfs_vg_activate_args (XDR *xdrs, guestfs_vg_activate_args *objp)
1778 register int32_t *buf;
1780 if (!xdr_bool (xdrs, &objp->activate))
1782 if (!xdr_array (xdrs, (char **)&objp->volgroups.volgroups_val, (u_int *) &objp->volgroups.volgroups_len, ~0,
1783 sizeof (str), (xdrproc_t) xdr_str))
1789 xdr_guestfs_lvresize_args (XDR *xdrs, guestfs_lvresize_args *objp)
1791 register int32_t *buf;
1793 if (!xdr_string (xdrs, &objp->device, ~0))
1795 if (!xdr_int (xdrs, &objp->mbytes))
1801 xdr_guestfs_resize2fs_args (XDR *xdrs, guestfs_resize2fs_args *objp)
1803 register int32_t *buf;
1805 if (!xdr_string (xdrs, &objp->device, ~0))
1811 xdr_guestfs_find_args (XDR *xdrs, guestfs_find_args *objp)
1813 register int32_t *buf;
1815 if (!xdr_string (xdrs, &objp->directory, ~0))
1821 xdr_guestfs_find_ret (XDR *xdrs, guestfs_find_ret *objp)
1823 register int32_t *buf;
1825 if (!xdr_array (xdrs, (char **)&objp->names.names_val, (u_int *) &objp->names.names_len, ~0,
1826 sizeof (str), (xdrproc_t) xdr_str))
1832 xdr_guestfs_e2fsck_f_args (XDR *xdrs, guestfs_e2fsck_f_args *objp)
1834 register int32_t *buf;
1836 if (!xdr_string (xdrs, &objp->device, ~0))
1842 xdr_guestfs_sleep_args (XDR *xdrs, guestfs_sleep_args *objp)
1844 register int32_t *buf;
1846 if (!xdr_int (xdrs, &objp->secs))
1852 xdr_guestfs_ntfs_3g_probe_args (XDR *xdrs, guestfs_ntfs_3g_probe_args *objp)
1854 register int32_t *buf;
1856 if (!xdr_bool (xdrs, &objp->rw))
1858 if (!xdr_string (xdrs, &objp->device, ~0))
1864 xdr_guestfs_ntfs_3g_probe_ret (XDR *xdrs, guestfs_ntfs_3g_probe_ret *objp)
1866 register int32_t *buf;
1868 if (!xdr_int (xdrs, &objp->status))
1874 xdr_guestfs_sh_args (XDR *xdrs, guestfs_sh_args *objp)
1876 register int32_t *buf;
1878 if (!xdr_string (xdrs, &objp->command, ~0))
1884 xdr_guestfs_sh_ret (XDR *xdrs, guestfs_sh_ret *objp)
1886 register int32_t *buf;
1888 if (!xdr_string (xdrs, &objp->output, ~0))
1894 xdr_guestfs_sh_lines_args (XDR *xdrs, guestfs_sh_lines_args *objp)
1896 register int32_t *buf;
1898 if (!xdr_string (xdrs, &objp->command, ~0))
1904 xdr_guestfs_sh_lines_ret (XDR *xdrs, guestfs_sh_lines_ret *objp)
1906 register int32_t *buf;
1908 if (!xdr_array (xdrs, (char **)&objp->lines.lines_val, (u_int *) &objp->lines.lines_len, ~0,
1909 sizeof (str), (xdrproc_t) xdr_str))
1915 xdr_guestfs_glob_expand_args (XDR *xdrs, guestfs_glob_expand_args *objp)
1917 register int32_t *buf;
1919 if (!xdr_string (xdrs, &objp->pattern, ~0))
1925 xdr_guestfs_glob_expand_ret (XDR *xdrs, guestfs_glob_expand_ret *objp)
1927 register int32_t *buf;
1929 if (!xdr_array (xdrs, (char **)&objp->paths.paths_val, (u_int *) &objp->paths.paths_len, ~0,
1930 sizeof (str), (xdrproc_t) xdr_str))
1936 xdr_guestfs_procedure (XDR *xdrs, guestfs_procedure *objp)
1938 register int32_t *buf;
1940 if (!xdr_enum (xdrs, (enum_t *) objp))
1946 xdr_guestfs_message_direction (XDR *xdrs, guestfs_message_direction *objp)
1948 register int32_t *buf;
1950 if (!xdr_enum (xdrs, (enum_t *) objp))
1956 xdr_guestfs_message_status (XDR *xdrs, guestfs_message_status *objp)
1958 register int32_t *buf;
1960 if (!xdr_enum (xdrs, (enum_t *) objp))
1966 xdr_guestfs_message_error (XDR *xdrs, guestfs_message_error *objp)
1968 register int32_t *buf;
1970 if (!xdr_string (xdrs, &objp->error_message, GUESTFS_ERROR_LEN))
1976 xdr_guestfs_message_header (XDR *xdrs, guestfs_message_header *objp)
1978 register int32_t *buf;
1980 if (!xdr_u_int (xdrs, &objp->prog))
1982 if (!xdr_u_int (xdrs, &objp->vers))
1984 if (!xdr_guestfs_procedure (xdrs, &objp->proc))
1986 if (!xdr_guestfs_message_direction (xdrs, &objp->direction))
1988 if (!xdr_u_int (xdrs, &objp->serial))
1990 if (!xdr_guestfs_message_status (xdrs, &objp->status))
1996 xdr_guestfs_chunk (XDR *xdrs, guestfs_chunk *objp)
1998 register int32_t *buf;
2000 if (!xdr_int (xdrs, &objp->cancel))
2002 if (!xdr_bytes (xdrs, (char **)&objp->data.data_val, (u_int *) &objp->data.data_len, GUESTFS_MAX_CHUNK_SIZE))