New declarations.
Showing
1 changed file
with
9 additions
and
1 deletions
... | @@ -91,7 +91,10 @@ extern void login_delay_capa __P((void)); | ... | @@ -91,7 +91,10 @@ extern void login_delay_capa __P((void)); |
91 | #endif | 91 | #endif |
92 | 92 | ||
93 | /* Minimum advertise retention time for messages. */ | 93 | /* Minimum advertise retention time for messages. */ |
94 | extern int expire; | 94 | extern time_t expire; |
95 | extern int expire_on_exit; | ||
96 | |||
97 | #define EXPIRE_NEVER ((time_t)-1) | ||
95 | 98 | ||
96 | /* Size of the MD5 digest for APOP */ | 99 | /* Size of the MD5 digest for APOP */ |
97 | #define APOP_DIGEST 70 | 100 | #define APOP_DIGEST 70 |
... | @@ -173,6 +176,7 @@ extern int expire; | ... | @@ -173,6 +176,7 @@ extern int expire; |
173 | #define POP3_ATTRIBUTE_DELE 0x0001 | 176 | #define POP3_ATTRIBUTE_DELE 0x0001 |
174 | #define POP3_ATTRIBUTE_RETR 0x0010 | 177 | #define POP3_ATTRIBUTE_RETR 0x0010 |
175 | 178 | ||
179 | #define INITIAL -1 | ||
176 | #define AUTHORIZATION 0 | 180 | #define AUTHORIZATION 0 |
177 | #define TRANSACTION 1 | 181 | #define TRANSACTION 1 |
178 | #define UPDATE 2 | 182 | #define UPDATE 2 |
... | @@ -200,6 +204,7 @@ extern int expire; | ... | @@ -200,6 +204,7 @@ extern int expire; |
200 | 204 | ||
201 | extern mailbox_t mbox; | 205 | extern mailbox_t mbox; |
202 | extern int state; | 206 | extern int state; |
207 | extern int initial_state; | ||
203 | extern char *username; | 208 | extern char *username; |
204 | extern char *maildir; | 209 | extern char *maildir; |
205 | extern char *md5shared; | 210 | extern char *md5shared; |
... | @@ -262,4 +267,7 @@ extern void pop3d_mark_retr __P((attribute_t attr)); | ... | @@ -262,4 +267,7 @@ extern void pop3d_mark_retr __P((attribute_t attr)); |
262 | extern int pop3d_is_retr __P((attribute_t attr)); | 267 | extern int pop3d_is_retr __P((attribute_t attr)); |
263 | extern void pop3d_unmark_retr __P((attribute_t attr)); | 268 | extern void pop3d_unmark_retr __P((attribute_t attr)); |
264 | 269 | ||
270 | extern void expire_mark_message __P((message_t msg, char **value)); | ||
271 | |||
272 | |||
265 | #endif /* _POP3D_H */ | 273 | #endif /* _POP3D_H */ | ... | ... |
-
Please register or sign in to post a comment