message-part-serialize.h revision 10da1ab399797ce44d37e0c464966e0a7cd5ff01
#ifndef __MESSAGE_PART_SERIALIZE_H
#define __MESSAGE_PART_SERIALIZE_H
struct message_part;
struct message_size;
/* Serialize message part. */
/* Generate struct message_part from serialized data. Returns NULL and sets
error if any problems are detected. If cache header size is unreliable
(eg. with mbox), you can give a new header size which will be used. */
struct message_part *
const struct message_size *new_hdr_size,
const char **error_r);
#endif