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

Message Object Functions 63
Get and Set Functions
RvSipMsgStartLineFix()
RvSipMsgStartLineFix()
DESCRIPTION
Fixes a start-line with bad-syntax information. When a message is received with
a syntax error in the start line, the start line string is kept as a separate bad-
syntax string. You use this function to fix the start line by parsing a given correct
start line string to the supplied message. If parsing succeeds, the function places
all parameters inside the message start line and removes the bad-syntax string. If
parsing fails, the bad-syntax string remains untouched. Use this function in the
RvSipTransportBadSyntaxStartLineMsgEv() event implementation to fix a
defected start-line.
SYNTAX
RvStatus RvSipMsgStartLineFix(
IN RvSipMsgHandle hSipMsg,
IN RvChar* pFixedBuffer);
PARAMETERS
hSipMsg
The handle to the message.
pFixedBuffer
The buffer containing a legal start-line value.
RETURN VALUES
Returns RvStatus.