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

18 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipMsgSetMethodInRequestLine()
RvSipMsgSetMethodInRequestLine()
DESCRIPTION
Sets the method type in the request line of the message. The function gets an
enumeration and string as input. The string is set as method only if the
enumeration is RVSIP_METHOD_OTHER. Otherwise, the string is ignored.
SYNTAX
RvStatus RvSipMsgSetMethodInRequestLine(
INOUT RvSipMsgHandle hSipMsg,
IN RvSipMethodType eRequestMethod,
IN RvChar* strMethod);
PARAMETERS
hSipMsg
The handle to a message.
eRequestMethod
Request method type to set in the message.
strMethod
A textual string which indicates the method type when eRequsetMethod is
RVSIP_METHOD_OTHER.
RETURN VALUES
Returns RvStatus.