2 * Copyright (c) 1998-2012 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.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
25 struct citpop3 { /* Information about the current session */
26 struct pop3msg *msgs; /* Array of message pointers */
27 int num_msgs; /* Number of messages in array */
28 int lastseen; /* Offset of last-read message in array */
30 /* Note: the "lastseen" is represented as the
31 * offset in this array (zero-based), so when
32 * displaying it to a POP3 client, it must be
36 #define POP3 ((struct citpop3 *)CC->session_specific_data)
38 void pop3_cleanup_function(void);
39 void pop3_greeting(void);
40 void pop3_user(char *argbuf);
41 void pop3_pass(char *argbuf);
42 void pop3_list(char *argbuf);
43 void pop3_command_loop(void);
44 void pop3_login(void);