HP-UX C SIP Stack Programmer's Guide (Novembery 2007)
184 HP-UX C SIP Stack Programmer’s Guide
Working With Multipart MIME
To check if a Body object is parsed, use the RvSipBodyGetBodyPart() function
with location RVSIP_FIRST_ELEMENT. A non-NULL value will indicate a
parsed Body.
A Body object that is not of type Multipart can be represented by a string only.
You can get the Body string using the functions,
RvSipBodyGetBodyStrLength() and RvSipBodyGetBodyStr(). You can set the
Body string using the function, RvSipBodySetBodyStr().