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

Functions for All Headers 827
Control Functions
RvSipHeaderParse()
RvSipHeaderParse()
DESCRIPTION
Parses a SIP textual header, of any type, into a header. All the textual parameters
are placed inside the object.
Note Before performing the parse operation, the SIP Stack resets all the header
parameters. Therefore, if the parse function fails, you will not be able to get the
previous header parameter values.
SYNTAX
RvStatus RvSipHeaderParse(
IN void* hHeader,
IN RvSipHeaderType eType,
IN RvChar* buffer);
PARAMETERS
hHeader
The handle to the header.
eType
The type of the header to parse.
buffer
The buffer containing a textual header.
RETURN VALUES
Returns RvStatus.