HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
486 HP C SIP Stack Message Layer Reference Guide
Control Functions
RvSipExpiresHeaderParse()
RvSipExpiresHeaderParse()
DESCRIPTION
Parses a SIP textual Expires header into a Expires header. All the textual
parameters are placed inside the object. For example, “Expires: Thu, 01 Dec
2040 16:00:00 GMT”.
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 RvSipExpiresHeaderParse(
IN RvSipExpiresHeaderHandle hHeader,
IN RvChar* strBuffer);
PARAMETERS
hHeader
A handle to the Expires header.
buffer
The buffer containing a textual Expires header.
RETURN VALUES
Returns RvStatus.
REMARKS
You must construct a Expires header before using this function.