Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/lib-mail/message-send.h @ 991:21788a1e9e39 HEAD
Partial fetches are working fast again - faster than ever actually.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 21 Jan 2003 07:37:35 +0200 |
parents | 8028c4dcf38f |
children | e0dbaabbc22b |
comparison
equal
deleted
inserted
replaced
990:9c8df18fb2a9 | 991:21788a1e9e39 |
---|---|
4 struct message_size; | 4 struct message_size; |
5 | 5 |
6 /* Send message to client inserting CRs if needed. Only max_virtual_size | 6 /* Send message to client inserting CRs if needed. Only max_virtual_size |
7 bytes if sent (relative to virtual_skip), if you want it unlimited, | 7 bytes if sent (relative to virtual_skip), if you want it unlimited, |
8 use (uoff_t)-1. Remember that if input begins with LF, CR is inserted | 8 use (uoff_t)-1. Remember that if input begins with LF, CR is inserted |
9 before it unless virtual_skip = 1. Returns TRUE if successful. */ | 9 before it unless virtual_skip = 1. Returns number of bytes sent, or -1 |
10 int message_send(struct ostream *output, struct istream *input, | 10 if error. */ |
11 const struct message_size *msg_size, | 11 off_t message_send(struct ostream *output, struct istream *input, |
12 uoff_t virtual_skip, uoff_t max_virtual_size); | 12 const struct message_size *msg_size, |
13 uoff_t virtual_skip, uoff_t max_virtual_size); | |
13 | 14 |
14 #endif | 15 #endif |