Serializes and deserializes the elements of a fixed-length array (known as a vector). Format #include <tcpip$rpcxdr.h> bool_t xdr_vector(XDR *xdrs, char **vecpp, u_int elnum, u_int elsize, xdrproc_t elproc);
1 – Arguments
xdrs A pointer to an XDR stream handle created by one of the XDR stream-handle creation routines. vecpp A pointer to a pointer to the array. elnum The number of elements in the array. elsize The size, in bytes, of each element. elproc The XDR routine to handle each element.
2 – Description
A routine that calls elproc to prepare the elements of an array for XDR messages.
3 – Return Values
TRUE Indicates success. FALSE Indicates failure.