message-size.h revision 6e0054c2e5efc526df6287da368335680a856714
#ifndef __MESSAGE_SIZE_H
#define __MESSAGE_SIZE_H
struct message_size {
unsigned int lines;
};
/* Calculate size of message header. Leave the input point to first
character in body. */
int *has_nuls);
/* Calculate size of message body. Read only max_virtual_size virtual bytes,
if you want it unlimited, use (uoff_t)-1. If last_cr is not NULL, it's set
to 1 if last character is CR, 2 if it's virtual CR. */
int *has_nuls);
/* Sum contents of src into dest. */
const struct message_size *src);
#endif