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
13
struct
pop3msg
{
14
long
msgnum
;
15
size_t
rfc822_length
;
16
int
deleted
;
17
};
18
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 */
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
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
);
39
pop3_command_loop
void pop3_command_loop(void)
Definition:
serv_pop3.c:478
pop3_login
void pop3_login(void)
Definition:
serv_pop3.c:168
pop3_greeting
void pop3_greeting(void)
Definition:
serv_pop3.c:67
pop3_list
void pop3_list(char *argbuf)
Definition:
serv_pop3.c:201
pop3_pass
void pop3_pass(char *argbuf)
Definition:
serv_pop3.c:185
pop3_cleanup_function
void pop3_cleanup_function(void)
Definition:
serv_pop3.c:52
pop3_user
void pop3_user(char *argbuf)
Definition:
serv_pop3.c:93
citpop3
Definition:
serv_pop3.h:19
citpop3::num_msgs
int num_msgs
Definition:
serv_pop3.h:21
citpop3::msgs
struct pop3msg * msgs
Definition:
serv_pop3.h:20
citpop3::lastseen
int lastseen
Definition:
serv_pop3.h:22
pop3msg
Definition:
serv_pop3.h:13
pop3msg::rfc822_length
size_t rfc822_length
Definition:
serv_pop3.h:15
pop3msg::msgnum
long msgnum
Definition:
serv_pop3.h:14
pop3msg::deleted
int deleted
Definition:
serv_pop3.h:16
server
modules
pop3
serv_pop3.h
Generated by
1.9.6