Mercurial > dovecot > core-2.2
view src/lib-mail/message-part-serialize.h @ 22633:9284bdc3c5c5
director: Don't recreate timeout on every user lookup
Recreate it only when the timeout should change.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sat, 04 Nov 2017 01:34:02 +0200 |
parents | e4eb71ae8e96 |
children |
line wrap: on
line source
#ifndef MESSAGE_PART_SERIALIZE_H #define MESSAGE_PART_SERIALIZE_H struct message_part; struct message_size; /* Serialize message part. */ void message_part_serialize(struct message_part *part, buffer_t *dest); /* Generate struct message_part from serialized data. Returns NULL and sets error if any problems are detected. */ struct message_part * message_part_deserialize(pool_t pool, const void *data, size_t size, const char **error_r); #endif