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

Message Object Functions 17
Get and Set Functions
RvSipMsgGetStrRequestMethod()
RvSipMsgGetStrRequestMethod()
DESCRIPTION
Copies the method type string from the message request line into a given buffer.
Use this function if RvSipMsgGetRequestMethod() returns
RVSIP_METHOD_OTHER. If the bufferLen is adequate, the function copies
the parameter into the strBuffer. Otherwise, the function returns
RV_ERROR_INSUFFICIENT_BUFFER and the actualLen parameter contains
the required buffer length.
SYNTAX
RvStatus RvSipMsgGetStrRequestMethod(
IN RvSipMsgHandle hSipMsg,
IN RvChar* strBuffer,
IN RvUint bufferLen,
OUT RvUint* actualLen);
PARAMETERS
hSipMsg
The handle to the message.
strBuffer
The buffer with which to fill the requested parameter.
bufferLen
The length of the buffer.
actualLen
The length of the requested parameter + 1, to include a NULL value at the end
of the parameter.
RETURN VALUES
Returns RvStatus.