citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
serv_pop3.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 1998-2017 by the citadel.org team
3 *
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.
6 *
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.
11 */
12
13struct pop3msg {
14 long msgnum;
17};
18
19struct 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 */
23};
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
27 * incremented by one.
28 */
29
30#define POP3 ((struct citpop3 *)CC->session_specific_data)
31
32void pop3_cleanup_function(void);
33void pop3_greeting(void);
34void pop3_user(char *argbuf);
35void pop3_pass(char *argbuf);
36void pop3_list(char *argbuf);
37void pop3_command_loop(void);
38void pop3_login(void);
39
void pop3_command_loop(void)
Definition: serv_pop3.c:478
void pop3_login(void)
Definition: serv_pop3.c:168
void pop3_greeting(void)
Definition: serv_pop3.c:67
void pop3_list(char *argbuf)
Definition: serv_pop3.c:201
void pop3_pass(char *argbuf)
Definition: serv_pop3.c:185
void pop3_cleanup_function(void)
Definition: serv_pop3.c:52
void pop3_user(char *argbuf)
Definition: serv_pop3.c:93
int num_msgs
Definition: serv_pop3.h:21
struct pop3msg * msgs
Definition: serv_pop3.h:20
int lastseen
Definition: serv_pop3.h:22
size_t rfc822_length
Definition: serv_pop3.h:15
long msgnum
Definition: serv_pop3.h:14
int deleted
Definition: serv_pop3.h:16