HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
Authorization Header Functions 299
Get and Set Functions
RvSipAuthorizationHeaderGetOtherParams()
RvSipAuthorizationHeaderGetOtherParams()
DESCRIPTION
Copies the Authorization header other-params parameter of the Authorization
header into a given buffer. Not all the Authorization header parameters have
separated parameters in the Authorization header. Parameters with no specific
parameters are referred to as “other-params”. They are kept in the object in one
concatenated string in the following form: “name=value;name=value...”. If the
bufferLen is adequate, the function copies the requested parameter into
strBuffer. Otherwise, the function returns
RV_ERROR_INSUFFICIENT_BUFFER and actualLen contains the required
buffer length.
SYNTAX
RvStatus RvSipAuthorizationHeaderGetOtherParams(
IN RvSipAuthorizationHeaderHandle hHeader,
IN RvChar* strBuffer,
IN RvUint bufferLen,
OUT RvUint* actualLen);
PARAMETERS
hHeader
The handle to the Authorization header.
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.