HP-UX C SIP Stack Message Layer Reference Guide (January 2008)

594 HP C SIP Stack Message Layer Reference Guide
Control Functions
RvSipReferToHeaderEncode()
RvSipReferToHeaderEncode()
DESCRIPTION
Encodes a Refer-To header to a textual Refer-To 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 RvSipReferToHeaderEncode(
IN RvSipReferToHeaderHandle hHeader,
IN HRPOOL hPool,
OUT HPAGE* hPage,
OUT RvUint32* length);
PARAMETERS
hHeader
The handle to the Refer-To header.
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.