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

Address Functions 103
SIP URL: Get and Set Functions
RvSipAddrUrlGetStrMethod()
RvSipAddrUrlGetStrMethod()
DESCRIPTION
Retrieves the method type string value from the URL address. If the value of
bufferLen is big enough, the function will copy the parameter into the strBuffer.
Otherwise, it will return RV_ERROR_INSUFFICIENT_BUFFER, and the
actualLen parameter will contain the needed buffer length.
SYNTAX
RvStatus RvSipAddrUrlGetStrMethod(
IN RvSipAddressHandle hSipAddr,
IN RvChar* strBuffer,
IN RvUint bufferLen,
OUT RvUint* actualLen);
PARAMETERS
hHeader
The handle to the URL address.
strBuffer
Buffer to fill with the requested parameter.
bufferLen
The length of the buffer.
actualLen
The length of the requested parameter +1, for a NULL value at the end.
RETURN VALUES
Returns RvStatus.