Function silc_mime_encode_partial
SYNOPSIS
SilcDList silc_mime_encode_partial(SilcMime mime, int max_size);
DESCRIPTION
Same as silc_mime_encode except fragments the MIME message `mime'
if it is larger than `max_size' in bytes. Returns the MIME fragments
in SilcDList where each entry is SilcBuffer context. The caller must
free the returned list and all SilcBuffer entries in it by calling
silc_mime_partial_free function.
To assemble the fragments into a complete MIME message the
silc_mime_assemble can be used.
|