man3tcp/DecapsulateRec

Table of Contents

Name

DecapsulateRec - XDR decapsulate a TRANS record

Description

DecapsulateRec decodes a message containing a TRANS record using AccelNET xdr functions. The caller supplies a a pointer to an input buffer containing the message and a pointer to the TRANS record into which to place the decoded message.

This function is part of libtcp.

Syntax

int DecapsulateRec(
   TRANS *Tr,

   unsigned char *buf,

   int bufsize,

   );

Arguments

Tr

pointer to the TRANS record to decapsulate.

buf

pointer to the message buffer.

bufsize

size of the message in the buffer.

Returns

Returns TRUE on successful completion of xdr translation. Returns FALSE on any failure i.e. out of buffer space.

See Also

libtcp(3tcp)

Manual page revision

$Id: DecapsulateRec.3,v 1.0 2008/08/14 18:58:09 kitchen Exp $


Table of Contents