HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
Content-Disposition Header Functions 357
Get and Set Functions
RvSipContentDispositionHeaderSetType()
RvSipContentDispositionHeaderSetType()
DESCRIPTION
Sets the disposition type parameter in the Content-Disposition header. If the
enumeration given by eDispType is RVSIP_DISPOSITIONTYPE_OTHER, this
function sets the disposition type string given by strDispType in the Content-
Type header. Use RVSIP_DISPOSITIONTYPE_OTHER when the disposition
type you wish to set to the content-type does not have a matching enumeration
value in the RvSipDispositionType enumeration.
SYNTAX
RvStatus RvSipContentDispositionHeaderSetType(
IN RvSipContentDispositionHeaderHandle hHeader,
IN RvSipDispositionType eDispType,
IN RvChar *strDispType);
PARAMETERS
hHeader
The handle to the Content-Disposition header.
eDispType
The disposition type enumeration to be set in the Content-Type header. If
RVSIP_DISPOSITIONTYPE_UNDEFINED is supplied, the existing
disposition type is removed from the header.
strDispType
The disposition type string to be set in the Content-Type header. This parameter
is relevant when eDispType is RVSIP_DISPOSITIONTYPE_OTHER.
RETURN VALUES
Returns RvStatus.