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.c File Reference
#include "../../sysdep.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <pwd.h>
#include <errno.h>
#include <sys/types.h>
#include <time.h>
#include <sys/wait.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
#include <libcitadel.h>
#include "../../citadel.h"
#include "../../server.h"
#include "../../citserver.h"
#include "../../support.h"
#include "../../config.h"
#include "../../user_ops.h"
#include "../../database.h"
#include "../../msgbase.h"
#include "../../internet_addressing.h"
#include "serv_pop3.h"
#include "../../ctdl_module.h"
Include dependency graph for serv_pop3.c:

Go to the source code of this file.

Functions

void pop3_cleanup_function (void)
 
void pop3_greeting (void)
 
void pop3s_greeting (void)
 
void pop3_user (char *argbuf)
 
void pop3_add_message (long msgnum, void *userdata)
 
int pop3_grab_mailbox (void)
 
void pop3_login (void)
 
void pop3_pass (char *argbuf)
 
void pop3_list (char *argbuf)
 
void pop3_stat (char *argbuf)
 
void pop3_retr (char *argbuf)
 
void pop3_top (char *argbuf)
 
void pop3_dele (char *argbuf)
 
void pop3_update (void)
 
void pop3_rset (char *argbuf)
 
void pop3_last (char *argbuf)
 
void pop3_capa (void)
 
void pop3_uidl (char *argbuf)
 
void pop3_stls (void)
 
void pop3_command_loop (void)
 
char * ctdl_module_init_pop3 (void)
 

Variables

const char * CitadelServicePop3 ="POP3"
 
const char * CitadelServicePop3S ="POP3S"
 

Function Documentation

◆ ctdl_module_init_pop3()

◆ pop3_add_message()

void pop3_add_message ( long  msgnum,
void *  userdata 
)

◆ pop3_capa()

void pop3_capa ( void  )

Definition at line 414 of file serv_pop3.c.

References CITADEL, and cprintf().

Referenced by pop3_command_loop().

◆ pop3_cleanup_function()

void pop3_cleanup_function ( void  )

Definition at line 52 of file serv_pop3.c.

References CC, free(), citpop3::msgs, and pop3_command_loop().

Referenced by ctdl_module_init_pop3().

◆ pop3_command_loop()

◆ pop3_dele()

void pop3_dele ( char *  argbuf)

Definition at line 339 of file serv_pop3.c.

References cprintf(), and POP3.

Referenced by pop3_command_loop().

◆ pop3_grab_mailbox()

int pop3_grab_mailbox ( void  )

◆ pop3_greeting()

void pop3_greeting ( void  )

Definition at line 67 of file serv_pop3.c.

References CC, cprintf(), malloc(), and POP3.

Referenced by ctdl_module_init_pop3(), and pop3s_greeting().

◆ pop3_last()

void pop3_last ( char *  argbuf)

Definition at line 408 of file serv_pop3.c.

References cprintf(), and POP3.

Referenced by pop3_command_loop().

◆ pop3_list()

void pop3_list ( char *  argbuf)

Definition at line 201 of file serv_pop3.c.

References cprintf(), and POP3.

Referenced by pop3_command_loop().

◆ pop3_login()

void pop3_login ( void  )

Definition at line 168 of file serv_pop3.c.

References CC, cprintf(), and pop3_grab_mailbox().

Referenced by pop3_pass().

◆ pop3_pass()

void pop3_pass ( char *  argbuf)

Definition at line 185 of file serv_pop3.c.

References cprintf(), CtdlTryPassword(), pass_ok, pop3_login(), and SIZ.

Referenced by pop3_command_loop().

◆ pop3_retr()

void pop3_retr ( char *  argbuf)

Definition at line 254 of file serv_pop3.c.

References cprintf(), CtdlOutputMsg(), ESC_DOT, HEADERS_ALL, MT_RFC822, POP3, and SUPPRESS_ENV_TO.

Referenced by pop3_command_loop().

◆ pop3_rset()

void pop3_rset ( char *  argbuf)

Definition at line 395 of file serv_pop3.c.

References cprintf(), and POP3.

Referenced by pop3_command_loop().

◆ pop3_stat()

void pop3_stat ( char *  argbuf)

Definition at line 237 of file serv_pop3.c.

References cprintf(), POP3, and total_msgs.

Referenced by pop3_command_loop().

◆ pop3_stls()

void pop3_stls ( void  )

Definition at line 465 of file serv_pop3.c.

References CtdlModuleStartCryptoMsgs(), and SIZ.

Referenced by pop3_command_loop().

◆ pop3_top()

void pop3_top ( char *  argbuf)

Definition at line 278 of file serv_pop3.c.

References CC, client_write(), cprintf(), CtdlOutputMsg(), HEADERS_ALL, MT_RFC822, POP3, SIZ, and SUPPRESS_ENV_TO.

Referenced by pop3_command_loop().

◆ pop3_uidl()

void pop3_uidl ( char *  argbuf)

Definition at line 429 of file serv_pop3.c.

References cprintf(), and POP3.

Referenced by pop3_command_loop().

◆ pop3_update()

◆ pop3_user()

void pop3_user ( char *  argbuf)

Definition at line 93 of file serv_pop3.c.

References CC, cprintf(), CtdlLoginExistingUser(), login_ok, and SIZ.

Referenced by pop3_command_loop().

◆ pop3s_greeting()

void pop3s_greeting ( void  )

Definition at line 78 of file serv_pop3.c.

References CC, CtdlModuleStartCryptoMsgs(), KILLME_NO_CRYPTO, and pop3_greeting().

Referenced by ctdl_module_init_pop3().

Variable Documentation

◆ CitadelServicePop3

const char* CitadelServicePop3 ="POP3"

Definition at line 572 of file serv_pop3.c.

Referenced by ctdl_module_init_pop3().

◆ CitadelServicePop3S

const char* CitadelServicePop3S ="POP3S"

Definition at line 573 of file serv_pop3.c.

Referenced by ctdl_module_init_pop3().