Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/lib-mail/message-send.h @ 6410:e4eb71ae8e96 HEAD
Changed .h ifdef/defines to use <NAME>_H format.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 11:31:27 +0300 |
parents | 55df57c028d4 |
children | c63cc3580150 |
rev | line source |
---|---|
6410
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
3863
diff
changeset
|
1 #ifndef MESSAGE_SEND_H |
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
3863
diff
changeset
|
2 #define MESSAGE_SEND_H |
12
a4423c83b2b0
moved lib-imap/imap-message-send.* into lib-mail/message-send.*
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
3 |
903
fd8888f6f037
Naming style changes, finally got tired of most of the typedefs. Also the
Timo Sirainen <tss@iki.fi>
parents:
764
diff
changeset
|
4 struct message_size; |
12
a4423c83b2b0
moved lib-imap/imap-message-send.* into lib-mail/message-send.*
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
5 |
1391
e0dbaabbc22b
Partial fetches were broken when they stopped between virtual CR and LF.
Timo Sirainen <tss@iki.fi>
parents:
991
diff
changeset
|
6 /* Skip number of virtual bytes from putfer. msg_size is updated if it's not |
e0dbaabbc22b
Partial fetches were broken when they stopped between virtual CR and LF.
Timo Sirainen <tss@iki.fi>
parents:
991
diff
changeset
|
7 NULL. If cr_skipped is TRUE and first character is \n, it's not treated as |
e0dbaabbc22b
Partial fetches were broken when they stopped between virtual CR and LF.
Timo Sirainen <tss@iki.fi>
parents:
991
diff
changeset
|
8 \r\n. last_cr is set to TRUE if last character we skipped was \r, meaning |
e0dbaabbc22b
Partial fetches were broken when they stopped between virtual CR and LF.
Timo Sirainen <tss@iki.fi>
parents:
991
diff
changeset
|
9 that next character should be \n and you shouldn't treat it as \r\n. */ |
e0dbaabbc22b
Partial fetches were broken when they stopped between virtual CR and LF.
Timo Sirainen <tss@iki.fi>
parents:
991
diff
changeset
|
10 void message_skip_virtual(struct istream *input, uoff_t virtual_skip, |
e0dbaabbc22b
Partial fetches were broken when they stopped between virtual CR and LF.
Timo Sirainen <tss@iki.fi>
parents:
991
diff
changeset
|
11 struct message_size *msg_size, |
3863
55df57c028d4
Added "bool" type and changed all ints that were used as booleans to bool.
Timo Sirainen <tss@iki.fi>
parents:
2421
diff
changeset
|
12 bool cr_skipped, bool *last_cr); |
12
a4423c83b2b0
moved lib-imap/imap-message-send.* into lib-mail/message-send.*
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
13 |
a4423c83b2b0
moved lib-imap/imap-message-send.* into lib-mail/message-send.*
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
14 #endif |