view src/lib-imap/imap-message-send.h @ 0:3b1985cbc908 HEAD

Initial revision
author Timo Sirainen <tss@iki.fi>
date Fri, 09 Aug 2002 12:15:38 +0300
parents
children 1b34ec11fff8
line wrap: on
line source

#ifndef __IMAP_MESSAGE_SEND_H
#define __IMAP_MESSAGE_SEND_H

#include "message-parser.h"

/* Send message to client inserting CRs if needed. If max_virtual_size is
   non-zero, only that much of the message is sent. If msg_fd is -1, only
   msg is used. Returns TRUE if successful. */
int imap_message_send(IOBuffer *outbuf, const char *msg, int msg_fd,
		      MessageSize *size, off_t virtual_skip,
		      size_t max_virtual_size);

#endif