1 /* 2 * Please do not edit this file. 3 * It was generated using rpcgen. 4 */ 5 6 #include "db_item_c.h" 7 8 #ifndef _KERNEL 9 #include <stdlib.h> 10 #endif /* !_KERNEL */ 11 12 #pragma ident "%Z%%M% %I% %E% SMI" 13 14 /* A 'counted' string. */ 15 16 17 bool_t 18 xdr_item(xdrs, objp) 19 XDR *xdrs; 20 item *objp; 21 { 22 23 rpc_inline_t *buf; 24 25 if (!xdr_array(xdrs, (char **)&objp->itemvalue.itemvalue_val, (u_int *) &objp->itemvalue.itemvalue_len, ~0, 26 sizeof (char), (xdrproc_t)xdr_char)) 27 return (FALSE); 28 return (TRUE); 29 } 30