13c7f187264ac5d9d54ca7f6099d39bd2726ff6c
[citadel.git] / citadel / serv_pop3.h
1
2 struct pop3msg {
3         long msgnum;
4         size_t rfc822_length;
5         int deleted;
6         FILE *temp;
7 };
8
9 struct citpop3 {                /* Information about the current session */
10         struct pop3msg *msgs;
11         int num_msgs;
12 };
13
14 #define POP3 ((struct citpop3 *)CtdlGetUserData(SYM_POP3))
15
16 void pop3_cleanup_function(void);
17 void pop3_greeting(void);
18 void pop3_user(char *argbuf);
19 void pop3_pass(char *argbuf);
20 void pop3_list(char *argbuf);
21 void pop3_command_loop(void);