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

Content-Disposition Header Functions 359
Get and Set Functions
RvSipContentDispositionHeaderGetStrHandling()
RvSipContentDispositionHeaderGetStrHandling()
DESCRIPTION
Copies the handling string from the Content-Disposition header into a given
buffer. Use this function when the handling enumeration returned by
RvSipContentDispositionHeaderGetHandling() is
RVSIP_DISPOSITIONHANDLING_OTHER. If the values for 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 RvSipContentDispositionHeaderGetStrHandling(
IN RvSipContentDispositionHeaderHandle hHeader,
IN RvChar* strBuffer,
IN RvUint bufferLen,
OUT RvUint* actualLen);
PARAMETERS
hHeader
The handle to the header.
strBuffer
The buffer to fill with the requested parameter.
bufferLen
Length of the buffer.
actualLen
Length of the requested parameter + 1, to include a NULL value at the end of
the parameter.
RETURN VALUES
Returns RvStatus.