/* * Please do not edit this file. * It was generated using rpcgen. */ #include "fs.h" #define MAX_FILENAME_SIZE 255 #define MAX_BLOCK_SIZE 8192 bool_t xdr_fs_get_ret_t (XDR *xdrs, fs_get_ret_t *objp) { register int32_t *buf; if (!xdr_int (xdrs, &objp->status)) return FALSE; if (!xdr_bytes (xdrs, (char **)&objp->buffer.buffer_val, (u_int *) &objp->buffer.buffer_len, MAX_BLOCK_SIZE)) return FALSE; return TRUE; } bool_t xdr_fs_get_param_t (XDR *xdrs, fs_get_param_t *objp) { register int32_t *buf; if (!xdr_long (xdrs, &objp->offset)) return FALSE; if (!xdr_long (xdrs, &objp->count)) return FALSE; if (!xdr_string (xdrs, &objp->name, MAX_FILENAME_SIZE)) return FALSE; return TRUE; } bool_t xdr_fs_list_t (XDR *xdrs, fs_list_t *objp) { register int32_t *buf; if (!xdr_int (xdrs, &objp->status)) return FALSE; if (!xdr_long (xdrs, &objp->offset)) return FALSE; if (!xdr_string (xdrs, &objp->name, MAX_FILENAME_SIZE)) return FALSE; return TRUE; } /* author: Gustavo Sverzut Barbieri (http://www.gustavobarbieri.com.br) */