xdrmem_create()
The xdrmem_create() call initializes the XDR stream pointed to by xdrs.
Data is written to, or read from, addr.
Syntax
#include <rpc\rpc.h>
void
xdrmem_create(xdrs, addr, size, op)
XDR *xdrs;
char *addr;
u_int size;
enum xdr_op op;
Parameters
xdrs
Pointer to an XDR stream.
addr
Pointer to the memory location.
size
Maximum size of addr, in multiples of
4.
op
The direction
of the XDR stream (either XDR_ENCODE, XDR_DECODE, or XDR_FREE).
[Back: xdr_wrapstring()]
[Next: xdrrec_create()]