HP-UX C SIP Stack Message Layer Reference Guide (February 2008)
574 HP C SIP Stack Message Layer Reference Guide
Control Functions
RvSipRAckHeaderEncode()
RvSipRAckHeaderEncode()
DESCRIPTION
Encodes a RAck header to a textual RAck 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(). The application must
free the allocated page, using RPOOL_FreePage(). The allocated page should be
freed only if this function returns RV_OK.
SYNTAX
RvStatus RvSipRAckHeaderEncode(
IN RvSipRAckHeaderHandle hHeader,
IN HRPOOL hPool,
OUT HPAGE* hPage,
OUT RvUint32* length);
PARAMETERS
hHeader
The handle to the RAck 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.