HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
818 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipBodyGetBodyPart()
RvSipBodyGetBodyPart()
DESCRIPTION
Gets a body part from the body parts list. The body object holds the body part
objects in a sequential list.
SYNTAX
RvStatus RvSipBodyGetBodyPart(
IN RvSipBodyHandle hBody,
IN RvSipListLocation location,
IN RvSipBodyPartHandle hRelative,
OUT RvSipBodyPartHandle *hBodyPart);
PARAMETERS
hBody
Handle of the body object.
location
The location in the list: next, previous, first or last.
hRelative
The handle to the current position in the list (a relative body part from the list).
Supply this value if you choose next or previous in the location parameter.
hBodyPart
The handle to the requested body part.
RETURN VALUES
Returns RvStatus.