HP-UX C SIP Stack Message Layer Reference Guide (February 2008)
CSeq Header Functions 407
Control Functions
RvSipCSeqHeaderParse()
RvSipCSeqHeaderParse()
DESCRIPTION
Parses a SIP textual CSeq header into a CSeq header. All the textual parameters
are placed inside the object. For example, “CSeq: 1 INVITE”.
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 RvSipCSeqHeaderParse(
IN RvSipCSeqHeaderHandle hHeader,
IN RvChar* buffer);
PARAMETERS
hHeader
A handle to the CSeq header.
buffer
The buffer with which to fill the requested parameter. containing a textual CSeq
header.
RETURN VALUES
Returns RvStatus.
REMARKS
You must construct a CSeq header before using this function.