The XDR Subroutine Format
An XDR routine is associated with each data type. XDR routines have the
following format:
xdr_xxx(xdrs,dp)
XDR *xdrs;
xxx *dp;
{
}
The routine has the following parameters:
xxx
xdrs
Opaque handle that points to an XDR stream.
The system passes the opaque handle pointer to the primitive XDR routines.
dp
Address of the
data value that is to be encoded or decoded.
If they succeed, the XDR routines return a value of 1; if they do not succeed,
they return a value of 0.
[Back: Basic Block Size]
[Next: XDR Data Types and their Filter Primitives]