HP-UX C SIP Stack Message Layer Reference Guide (February 2008)
826 HP C SIP Stack Message Layer Reference Guide
Control Functions
RvSipHeaderEncode()
CONTROL
FUNCTIONS
RvSipHeaderEncode()
DESCRIPTION
Encodes a header of any type to a textual header. The textual header is placed on
a page taken from a specified pool. To copy the textual header from the page to a
consecutive buffer, use RPOOL_CopyToExternal().
SYNTAX
RvStatus RvSipHeaderEncode(
IN void* pHeader,
IN RvSipHeaderType eType,
IN HRPOOL hPool,
OUT HPAGE* hPage,
OUT RvUint32* length);
PARAMETERS
pHeader
The handle to the header structure.
eType
The type of the header to encode.
hPool
The handle to the specified memory pool.
hPage
The memory page allocated to contain the encoded header.
length
The length of the encoded information.
RETURN VALUES
Returns RvStatus.