protocol.h File Reference

Go to the source code of this file.

Defines

#define P_DEFAULT   1
#define P_HTTP   2
#define P_FTP   3
#define P_SMTP   4
#define P_POP   5
#define P_IMAP   6
#define P_NNTP   7
#define P_SSH   8
#define P_DWP   9
#define P_LDAP2   10
#define P_LDAP3   11

Functions

void gc_protocols ()
void * create_default ()
void * create_http ()
void * create_ftp ()
void * create_smtp ()
void * create_pop ()
void * create_imap ()
void * create_nntp ()
void * create_ssh ()
void * create_dwp ()
void * create_ldap2 ()
void * create_ldap3 ()
int check_default (Port_T)
int check_http (Port_T)
int check_ftp (Port_T)
int check_smtp (Port_T)
int check_pop (Port_T)
int check_imap (Port_T)
int check_nntp (Port_T)
int check_ssh (Port_T)
int check_dwp (Port_T)
int check_ldap2 (Port_T)
int check_ldap3 (Port_T)


Define Documentation

#define P_DEFAULT   1
 

Definition at line 30 of file protocol.h.

#define P_DWP   9
 

Definition at line 38 of file protocol.h.

#define P_FTP   3
 

Definition at line 32 of file protocol.h.

#define P_HTTP   2
 

Definition at line 31 of file protocol.h.

#define P_IMAP   6
 

Definition at line 35 of file protocol.h.

#define P_LDAP2   10
 

Definition at line 39 of file protocol.h.

#define P_LDAP3   11
 

Definition at line 40 of file protocol.h.

#define P_NNTP   7
 

Definition at line 36 of file protocol.h.

#define P_POP   5
 

Definition at line 34 of file protocol.h.

#define P_SMTP   4
 

Definition at line 33 of file protocol.h.

#define P_SSH   8
 

Definition at line 37 of file protocol.h.


Function Documentation

int check_default Port_T   
 

Definition at line 33 of file default.c.

References ASSERT.

int check_dwp Port_T   
 

Definition at line 63 of file dwp.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), and STRERROR.

int check_ftp Port_T   
 

Definition at line 42 of file ftp.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), and STRERROR.

int check_http Port_T   
 

Definition at line 70 of file http.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), prog, myport::request, STRERROR, and VERSION.

int check_imap Port_T   
 

Definition at line 41 of file imap.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), and STRERROR.

int check_ldap2 Port_T   
 

Definition at line 51 of file ldap2.c.

References ASSERT, log(), port_recv(), port_send(), and STRERROR.

int check_ldap3 Port_T   
 

Definition at line 51 of file ldap3.c.

References ASSERT, log(), port_recv(), port_send(), and STRERROR.

int check_nntp Port_T   
 

Definition at line 41 of file nntp.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), and STRERROR.

int check_pop Port_T   
 

Definition at line 41 of file pop.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), and STRERROR.

int check_smtp Port_T   
 

Definition at line 42 of file smtp.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), and STRERROR.

int check_ssh Port_T   
 

Definition at line 44 of file ssh.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), and STRERROR.

void* create_default  
 

Definition at line 77 of file protocol.c.

References NEW.

void* create_dwp  
 

Definition at line 189 of file protocol.c.

References NEW.

void* create_ftp  
 

Definition at line 105 of file protocol.c.

References NEW.

void* create_http  
 

Definition at line 91 of file protocol.c.

References NEW.

void* create_imap  
 

Definition at line 147 of file protocol.c.

References NEW.

void* create_ldap2  
 

Definition at line 203 of file protocol.c.

References NEW.

void* create_ldap3  
 

Definition at line 217 of file protocol.c.

References NEW.

void* create_nntp  
 

Definition at line 161 of file protocol.c.

References NEW.

void* create_pop  
 

Definition at line 133 of file protocol.c.

References NEW.

void* create_smtp  
 

Definition at line 119 of file protocol.c.

References NEW.

void* create_ssh  
 

Definition at line 175 of file protocol.c.

References NEW.

void gc_protocols  
 

Definition at line 60 of file protocol.c.

Referenced by gc().