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

16 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipMsgGetRequestMethod()
RvSipMsgGetRequestMethod()
DESCRIPTION
Gets the method type enumeration from the message request line. For more
information, see RvSipMethodType in Message Type Definitions.
SYNTAX
RvSipMethodType RvSipMsgGetRequestMethod(
IN RvSipMsgHandle hSipMsg);
PARAMETERS
hSipMsg
The handle to the message.
RETURN VALUES
Returns the request method type.
REMARKS
If this function returns RVSIP_METHOD_OTHER, call
RvSipMsgGetStrRequestMethod() to get the method in a string format.