2 * Copyright (c) 1998-2017 by the citadel.org team
4 * This program is open source software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
19 struct citpop3 { /* Information about the current session */
20 struct pop3msg *msgs; /* Array of message pointers */
21 int num_msgs; /* Number of messages in array */
22 int lastseen; /* Offset of last-read message in array */
24 /* Note: the "lastseen" is represented as the
25 * offset in this array (zero-based), so when
26 * displaying it to a POP3 client, it must be
30 #define POP3 ((struct citpop3 *)CC->session_specific_data)
32 void pop3_cleanup_function(void);
33 void pop3_greeting(void);
34 void pop3_user(char *argbuf);
35 void pop3_pass(char *argbuf);
36 void pop3_list(char *argbuf);
37 void pop3_command_loop(void);
38 void pop3_login(void);