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

520 HP C SIP Stack Message Layer Reference Guide
Control Functions
RvSipOtherHeaderConstructInBodyPart()
RvSipOtherHeaderConstructInBodyPart()
DESCRIPTION
Constructs an Other header inside a given message body part object. The header
is kept in the Other headers list of the message body part object. You can choose
to insert the header either at the head or tail of the list.
SYNTAX
RvStatus RvSipOtherHeaderConstructInBodyPart(
IN RvSipBodyPartHandle hBodyPart,
IN RvBool pushHeaderAtHead,
OUT RvSipOtherHeaderHandle* hHeader);
PARAMETERS
hBodyPart
The handle to the message body-part object.
pushHeaderAtHead
A Boolean value indicating whether the header should be pushed to the head of
the list (RV_TRUE) or to the tail (RV_FALSE).
hHeader
The handle to the newly constructed Other header.
RETURN VALUES
Returns RvStatus.