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

Via Header Functions 771
Get and Set Functions
RvSipViaHeaderGetStrTransport()
RvSipViaHeaderGetStrTransport()
DESCRIPTION
Copies the transport protocol string from the Via header into a given buffer. Use
this function if RvSipViaHeaderGetTransport() returns
RVSIP_TRANSPORT_OTHER. If the bufferLen size 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 RvSipViaHeaderGetStrTransport(
IN RvSipViaHeaderHandle hHeader,
IN RvChar* strBuffer,
IN RvUint bufferLen,
OUT RvUint* actualLen);
PARAMETERS
hHeader
The handle to the Via header.
strBuffer
Buffer to fill with 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.