view src/lib-mail/message-send.h @ 903:fd8888f6f037 HEAD

Naming style changes, finally got tired of most of the typedefs. Also the previous enum -> macro change reverted so that we don't use the highest bit anymore, that's incompatible with old indexes so they will be rebuilt.
author Timo Sirainen <tss@iki.fi>
date Sun, 05 Jan 2003 15:09:51 +0200
parents f57c52738f90
children 8028c4dcf38f
line wrap: on
line source

#ifndef __MESSAGE_SEND_H
#define __MESSAGE_SEND_H

struct message_size;

/* Send message to client inserting CRs if needed. Only max_virtual_size
   bytes if sent (relative to virtual_skip), if you want it unlimited,
   use (uoff_t)-1. Remember that if input begins with LF, CR is inserted
   before it unless virtual_skip = 1. Returns TRUE if successful. */
int message_send(struct ostream *output, struct istream *input,
		 struct message_size *msg_size,
		 uoff_t virtual_skip, uoff_t max_virtual_size);

#endif