HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
Via Header Functions 765
Control Functions
RvSipViaHeaderParse()
RvSipViaHeaderParse()
DESCRIPTION
Parses a SIP textual Via header into a Via header. All the textual parameters are
placed inside the object. For example: “Via: SIP/2.0/UDP h.caller.com”.
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 RvSipViaHeaderParse(
IN RvSipViaHeaderHandle hHeader,
IN RvChar* buffer);
PARAMETERS
hHeader
A handle to the Via header.
buffer
The buffer containing a textual Via header.
RETURN VALUES
Returns RvStatus.
REMARKS
You must construct a Via header before using this function.