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

360 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipContentDispositionHeaderSetHandling()
RvSipContentDispositionHeaderSetHandling()
DESCRIPTION
Sets the handling parameter in the content-disposition header. If the enumeration
given by eHandling is RVSIP_DISPOSITIONHANDLING_OTHER, this
function sets the handling string given by strHandling in the Content-Type
header. Use RVSIP_DISPOSITIONHANDLING_OTHER when the disposition
type you wish to set to the content-type does not have a matching enumeration
value in the RvSipDispositionHandling enumeration.
SYNTAX
RvStatus RvSipContentDispositionHeaderSetHandling(
IN RvSipContentDispositionHeaderHandle hHeader,
IN RvSipDispositionHandling eHandling,
IN RvChar *strHandling);
PARAMETERS
hHeader
The handle to the Content-Disposition header.
eHandling
The handling enumeration to be set in the Content-Type header. If
RVSIP_DISPOSITIONHANDLING_UNDEFINED is supplied, the existing
handling is removed from the header.
strHandling
The handling string to be set in the Content-Type header. This parameter is
relevant when eHandling is RVSIP_DISPOSITIONHANDLING_OTHER.
RETURN VALUES
Returns RvStatus.