xdrrec_create()

The xdrrec_create() call initializes the XDR stream pointed to by xdrs.

Syntax

#include <rpc\rpc.h>

void
xdrrec_create(xdrs, sendsize, recvsize, handle, readit, writeit)
XDR *xdrs;
u_int sendsize;
u_int recvsize;
char *handle;
int (*readit)();
int (*writeit)();

Parameters

xdrs

sendsize recvsize handle readit() writeit()

Description

The xdrrec_create() call initializes the XDR stream pointed to by xdrs.

Note: The caller must set the op field in the xdrs structure.

Attention:

This XDR procedure implements an intermediate record string. Additional bytes in the XDR stream provide record boundary information.


[Back: xdrmem_create()]
[Next: xdrrec_endofrecord()]