9 struct citpop3 { /* Information about the current session */
10 struct pop3msg *msgs; /* Array of message pointers */
11 int num_msgs; /* Number of messages in array */
12 int lastseen; /* Offset of last-read message in array */
14 /* Note: the "lastseen" is represented as the
15 * offset in this array (zero-based), so when
16 * displaying it to a POP3 client, it must be
20 #define POP3 ((struct citpop3 *)CtdlGetUserData(SYM_POP3))
22 void pop3_cleanup_function(void);
23 void pop3_greeting(void);
24 void pop3_user(char *argbuf);
25 void pop3_pass(char *argbuf);
26 void pop3_list(char *argbuf);
27 void pop3_command_loop(void);