#include <writemime.h>
Public Member Functions | |
CompositeEntity (type tp, const char *stp) | |
virtual int | addPart (Entity *part) |
Add a body part. | |
virtual int | size () |
Compute storage size, including final 0 byte. | |
virtual const char * | format () |
Return malloc'd, 0-terminated buffer of formatted contents. | |
virtual int | format (char *buf) |
Format into caller buffer, which must be at least size() bytes wide. |
The class only supports media of MULTIPART type. subtypes mixed and alternative should work ok. Related and digest may not.