HP-UX C SIP Stack Message Layer Reference Guide (February 2008)
122 HP C SIP Stack Message Layer Reference Guide
Absolute URI: Get and Set Functions
RvSipAddrAbsUriGetScheme()
RvSipAddrAbsUriGetScheme()
DESCRIPTION
Copies the scheme parameter from the address into a given buffer. If the
bufferLen is adequate, this function copies the parameter into the strBuffer.
Otherwise, this function returns RV_ERROR_INSUFFICIENT_BUFFER and
actualLen contains the required buffer length.
SYNTAX
RvStatus RvSipAddrAbsUriGetScheme(
IN RvSipAddressHandle hSipAddr,
IN RvChar* strBuffer,
IN RvUint bufferLen,
OUT RvUint* actualLen);
PARAMETERS
hSipAddr
The handle to the absolute URI address.
strBuffer
Buffer to fill with the requested parameter.
bufferLen
The length of the given buffer.
actualLen
The length of the requested parameter + 1, to include NULL character at the end
of the string.
RETURN VALUES
Returns RvStatus.