xdr_array()
xdr_array()
- The xdr_array() filter provides support for encoding/decoding a variable length array.
bool_t xdr_array( XDR *xdrs, char *arrp,
u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc);
sizep is a pointer to the size of the array.
elsize is the size of each element (in bytes).
elproc is a pointer to a function that can encode/decode individual array elements.