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
If they succeed, the XDR routines return a value of 1; if they do not succeed, they return a value of 0.