HP-UX C SIP Stack Message Layer Reference Guide (February 2008)
Party Header Functions 543
Control Functions
RvSipPartyHeaderEncode()
RvSipPartyHeaderEncode()
DESCRIPTION
Encodes a Party header to a textual Party 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 RvSipPartyHeaderEncode(
IN RvSipPartyHeaderHandle hHeader,
IN HRPOOL hPool,
IN RvBool bIsTo,
OUT HPAGE* hPage,
OUT RvUint32* length);
PARAMETERS
hHeader
The handle to the Contact header.
hPool
The handle to the specified memory pool.
bIsTo
Indicates whether a header is a To header (RV_TRUE) or From header
(RV_FALSE).
hPage
The memory page allocated to contain the encoded header.
length
The length of the encoded information.
RETURN VALUES
Returns RvStatus.