Table of Contents
EncapsulateRec - XDR encapsulate a TRANS record
EncapsulateRec
encodes a TRANS record using AccelNET xdr functions. The caller supplies
an output buffer and a pointer to the object to pack up. The function returns
the filled buffer and the number of bytes placed in it.
This function is
part of libtcp.
int EncapsulateRec(
TRANS *Tr,
unsigned char *buf,
int bufsize,
int *Length
);
pointer to the TRANS record to encapsulate.
pointer to output
buffer.
size of output buffer.
pointer to variable to return
number of bytes of xdr encapsulated data.
Returns TRUE on successful
completion of xdr translation. Returns FALSE on any failure i.e. out of buffer
space.
libtcp(3tcp)
$Id: EncapsulateRec.3,v 1.1
2002/04/07 19:50:52 kitchen Exp $
Table of Contents