TITLE

AUTHOR
Version 0.8.6
CREATEDATE

Table of Contents

Table of contents

Hierarchical Index
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
Account	pagenum
Connection	pagenum
Socket	pagenum

Feedback	pagenum
Filter	pagenum
Score	pagenum

MD5_CTX	pagenum
option	pagenum
Preferences	pagenum
Protocol	pagenum
POP3	pagenum
APOP	pagenum

Size_score	pagenum

Class Index
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
Account  	pagenum
APOP  	pagenum
Connection  	pagenum
Feedback  	pagenum
Filter  	pagenum
MD5_CTX  	pagenum
option  	pagenum
POP3  	pagenum
Preferences  	pagenum
Protocol  	pagenum
Score  	pagenum
Size_score  	pagenum
Socket  	pagenum

File Index
File List
Here is a list of all files with brief descriptions:
account.cc  	pagenum
account.hh  	pagenum
apop.cc  	pagenum
apop.hh  	pagenum
connection.hh  	pagenum
feedback.cc  	pagenum
feedback.hh  	pagenum
filter.cc  	pagenum
filter.hh  	pagenum
getopt.c  	pagenum
getopt.h  	pagenum
getopt1.c  	pagenum
filtermail.cc  	pagenum
filtermail.hh  	pagenum
md5.h  	pagenum
md5c.c  	pagenum
pop3.cc  	pagenum
pop3.hh  	pagenum
preferences.cc  	pagenum
preferences.hh  	pagenum
protocol.cc  	pagenum
protocol.hh  	pagenum
score.hh  	pagenum
socket.cc  	pagenum
socket.hh  	pagenum

Class Documentation
Account Class Reference

#include <account.hh>
Public Member Functions
void clear (void)
string server (void)
void set_server (const char *)
string usr (void)
void set_usr (const char *)
string passwd (void)
void set_passwd (const char *)
unsigned int port (void)
void set_port (unsigned int)
void set_protocol (unsigned int)
unsigned int protocol (void)
void set_connection (unsigned int=POSIX_SOCKETS) __attribute__((unused))
int check (void)
Protected Attributes
string serv
string user
string pass
int the_port
vector< string > msg_ids
Protocol * proto
Connection * conn

Member Function Documentation
int Account::check (void )
void Account::clear (void )
string Account::passwd (void )
unsigned int Account::port (void )
unsigned int Account::protocol (void )
string Account::server (void )
void Account::set_connection (unsigned int the_connection_type = POSIX_SOCKETS)
void Account::set_passwd (const char * s)
void Account::set_port (unsigned int p)
void Account::set_protocol (unsigned int prot)
void Account::set_server (const char * s)
void Account::set_usr (const char * s)
string Account::usr (void )

Member Data Documentation
Connection* Account::conn[protected]
vector<string> Account::msg_ids[protected]
string Account::pass[protected]
Protocol* Account::proto[protected]
string Account::serv[protected]
int Account::the_port[protected]
string Account::user[protected]

The documentation for this class was generated from the following files:
account.hh
account.cc

APOP Class Reference

#include <apop.hh>
Inheritance diagram for APOP:
IMAGE
Public Member Functions
bool login (const char *usr, const char *pass, const unsigned int enc) const 
Additional Inherited Members

Member Function Documentation
bool APOP::login (const char * usr, const char * pass, const unsigned int enc) const[virtual]

Reimplemented from POP3 (p.pagenum).

The documentation for this class was generated from the following files:
apop.hh
apop.cc

Connection Class Reference

#include <connection.hh>
Inheritance diagram for Connection:
IMAGE
Public Member Functions
virtual ~Connection (void)
virtual int c_open (const char *host_name, int port, int time_out, int protocol)=0
virtual int c_close (void) const =0
virtual int c_read (bool=false)=0
virtual int c_write (const char *msg)=0
virtual const string * c_reply (void) const =0

Constructor & Destructor Documentation
virtual Connection::~Connection (void )[inline], [virtual]

Member Function Documentation
virtual int Connection::c_close (void ) const[pure virtual]

Implemented in Socket (p.pagenum).
virtual int Connection::c_open (const char * host_name, int port, int time_out, int protocol)[pure virtual]

Implemented in Socket (p.pagenum).
virtual int Connection::c_read (bool  = false)[pure virtual]

Implemented in Socket (p.pagenum).
virtual const string* Connection::c_reply (void ) const[pure virtual]

Implemented in Socket (p.pagenum).
virtual int Connection::c_write (const char * msg)[pure virtual]

Implemented in Socket (p.pagenum).

The documentation for this class was generated from the following file:
connection.hh

Feedback Class Reference

#include <feedback.hh>
Public Member Functions
~Feedback (void)
bool open (const char *)
bool print_msg (const string, int)
bool print_err (const string, int=1)
bool print_header (const string)
Static Public Member Functions
static Feedback * Instance (void)

Constructor & Destructor Documentation
Feedback::~Feedback (void )

Member Function Documentation
Feedback * Feedback::Instance (void )[static]
bool Feedback::open (const char * name)
bool Feedback::print_err (const string msg, int min_verbose_level = 1)
bool Feedback::print_header (const string msg)
bool Feedback::print_msg (const string msg, int min_verbose_level)

The documentation for this class was generated from the following files:
feedback.hh
feedback.cc

Filter Class Reference

#include <filter.hh>
Inheritance diagram for Filter:
IMAGE
Public Member Functions
Filter (void)
~Filter (void)
string expression (void) const 
void set_expression (const char *)
int compile (void)
void set_negativity (bool)
bool is_negative (void) const 
int ccase (void) const 
void set_case (int)
const regex_t * comp_exp (void) const 

Constructor & Destructor Documentation
Filter::Filter (void )
Filter::~Filter (void )

Member Function Documentation
int Filter::ccase (void ) const
const regex_t * Filter::comp_exp (void ) const
int Filter::compile (void )
string Filter::expression (void ) const
bool Filter::is_negative (void ) const
void Filter::set_case (int c)
void Filter::set_expression (const char * exp)
void Filter::set_negativity (bool t)

The documentation for this class was generated from the following files:
filter.hh
filter.cc

MD5_CTX Struct Reference

#include <md5.h>
Public Attributes
uint32_t state [4]
uint32_t count [2]
unsigned char buffer [64]

Member Data Documentation
unsigned char MD5_CTX::buffer[64]
uint32_t MD5_CTX::count[2]
uint32_t MD5_CTX::state[4]

The documentation for this struct was generated from the following file:
md5.h

option Struct Reference

#include <getopt.h>
Public Attributes
char * name
int has_arg
int * flag
int val

Member Data Documentation
int* option::flag
int option::has_arg
char* option::name
int option::val

The documentation for this struct was generated from the following file:
getopt.h

POP3 Class Reference

#include <pop3.hh>
Inheritance diagram for POP3:
IMAGE
Public Member Functions
bool login (const char *, const char *, const unsigned int) const 
bool logout (void) const 
int remove_msg (const unsigned int) const 
int status (void) const 
int scan (void) const 
Additional Inherited Members

Member Function Documentation
bool POP3::login (const char * usr, const char * pass, const unsigned int enc) const[virtual]

Implements Protocol (p.pagenum).
Reimplemented in APOP (p.pagenum).
bool POP3::logout (void ) const[virtual]

Implements Protocol (p.pagenum).
int POP3::remove_msg (const unsigned int num) const[virtual]

Implements Protocol (p.pagenum).
int POP3::scan (void ) const[virtual]

Implements Protocol (p.pagenum).
int POP3::status (void ) const[virtual]

Implements Protocol (p.pagenum).

The documentation for this class was generated from the following files:
pop3.hh
pop3.cc

Preferences Class Reference

#include <preferences.hh>
Public Member Functions
Preferences ()
void init (void)
void kill (void)
bool open (const char *)
bool load (void)
void add_deny_rule (const char *, const char *, const char *)
void add_allow_rule (const char *, const char *, const char *)
void add_score (const char *, int, const char *, const char *)
int neg_allows (void)
int neg_denies (void)
void set_rc_file (const char *)
string rc_file (void)
void set_log_file (const char *)
string log_file (void)
void set_verbose_level (int)
int verbose_level (void)
void set_headers_file (const char *)
string headers_file (void)
void set_default_case (const char *)
int default_case (void)
void set_reg_type (const char *)
int reg_type (void)
void set_server (const char *)
void set_usr (const char *)
void set_passwd (const char *)
void set_protocol (const char *)
void set_connection (unsigned int=POSIX_SOCKETS) __attribute__((unused))
void set_port (unsigned int)
unsigned int time_out (void)
void set_time_out (unsigned int)
bool delete_duplicates (void)
void set_del_duplicates (const char *)
int max_size_allow (void)
void set_max_size_allow (int)
int max_size_deny (void)
void set_max_size_deny (int)
Size_score max_size_score (void)
void set_max_size_score (int, int)
int highscore (void)
void set_highscore (int)
bool normal (void)
void set_normal (const char *)
bool test_mode (void)
void set_test_mode (const char *)
int maxlength (void)
void set_maxlength (int)
bool ignore_time_stamp ()
void set_ignore_time_stamp (bool=true)
bool return_status (void)
void set_return_status (bool)
vector< Account > * accounts (void)
vector< Filter > * allow_filters (void)
vector< Filter > * deny_filters (void)
vector< Score > * score_filters (void)
Static Public Member Functions
static Preferences & Instance ()
Protected Attributes
ifstream prefs_stream
vector< Filter > allows
vector< Filter > denies
vector< Score > scores
vector< Account > accnts
Account cur_account
string prefs_file_name
string log_file_name
string headers_file_name
int icase
bool norm
bool test
bool show_headers
bool del_duplicates
bool ret_status
bool _ignore_time_stamp
int high_score
unsigned time_out_val
int max_size
Size_score size_score
int max_size_friends
int max_line_length
int rreg_type
int verbosity
int conn_type
int negative_allows
int negative_denies
int negative_scores
bool verbosity_changed
bool test_changed

Constructor & Destructor Documentation
Preferences::Preferences ()

Member Function Documentation
vector< Account > * Preferences::accounts (void )
void Preferences::add_allow_rule (const char * keyword, const char * operat, const char * id)
void Preferences::add_deny_rule (const char * keyword, const char * operat, const char * id)
void Preferences::add_score (const char * keyword, int given_score, const char * operat, const char * id)
vector< Filter > * Preferences::allow_filters (void )
int Preferences::default_case (void )
bool Preferences::delete_duplicates (void )
vector< Filter > * Preferences::deny_filters (void )
string Preferences::headers_file (void )
int Preferences::highscore (void )
bool Preferences::ignore_time_stamp ()
void Preferences::init (void )
Preferences & Preferences::Instance ()[static]
void Preferences::kill (void )
bool Preferences::load (void )
string Preferences::log_file (void )
int Preferences::max_size_allow (void )
int Preferences::max_size_deny (void )
Size_score Preferences::max_size_score (void )
int Preferences::maxlength (void )
int Preferences::neg_allows (void )
int Preferences::neg_denies (void )
bool Preferences::normal (void )
bool Preferences::open (const char * name)
string Preferences::rc_file (void )
int Preferences::reg_type (void )
bool Preferences::return_status (void )
vector< Score > * Preferences::score_filters (void )
void Preferences::set_connection (unsigned int p = POSIX_SOCKETS)
void Preferences::set_default_case (const char * new_case)
void Preferences::set_del_duplicates (const char * del)
void Preferences::set_headers_file (const char * name)
void Preferences::set_highscore (int val)
void Preferences::set_ignore_time_stamp (bool new_ts = true)
void Preferences::set_log_file (const char * name)
void Preferences::set_max_size_allow (int val)
void Preferences::set_max_size_deny (int val)
void Preferences::set_max_size_score (int score, int size)
void Preferences::set_maxlength (int val)
void Preferences::set_normal (const char * par)
void Preferences::set_passwd (const char * pass)
void Preferences::set_port (unsigned int p)
void Preferences::set_protocol (const char * prot)
void Preferences::set_rc_file (const char * name)
void Preferences::set_reg_type (const char * new_type)
void Preferences::set_return_status (bool st)
void Preferences::set_server (const char * server)
void Preferences::set_test_mode (const char * par)
void Preferences::set_time_out (unsigned int val)
void Preferences::set_usr (const char * user)
void Preferences::set_verbose_level (int level)
bool Preferences::test_mode (void )
unsigned int Preferences::time_out (void )
int Preferences::verbose_level (void )

Member Data Documentation
bool Preferences::_ignore_time_stamp[protected]
vector<Account> Preferences::accnts[protected]
vector<Filter> Preferences::allows[protected]
int Preferences::conn_type[protected]
Account Preferences::cur_account[protected]
bool Preferences::del_duplicates[protected]
vector<Filter> Preferences::denies[protected]
string Preferences::headers_file_name[protected]
int Preferences::high_score[protected]
int Preferences::icase[protected]
string Preferences::log_file_name[protected]
int Preferences::max_line_length[protected]
int Preferences::max_size[protected]
int Preferences::max_size_friends[protected]
int Preferences::negative_allows[protected]
int Preferences::negative_denies[protected]
int Preferences::negative_scores[protected]
bool Preferences::norm[protected]
string Preferences::prefs_file_name[protected]
ifstream Preferences::prefs_stream[protected]
bool Preferences::ret_status[protected]
int Preferences::rreg_type[protected]
vector<Score> Preferences::scores[protected]
bool Preferences::show_headers[protected]
Size_score Preferences::size_score[protected]
bool Preferences::test[protected]
bool Preferences::test_changed[protected]
unsigned Preferences::time_out_val[protected]
int Preferences::verbosity[protected]
bool Preferences::verbosity_changed[protected]

The documentation for this class was generated from the following files:
preferences.hh
preferences.cc

Protocol Class Reference

#include <protocol.hh>
Inheritance diagram for Protocol:
IMAGE
Public Member Functions
virtual ~Protocol (void)
virtual bool login (const char *usr, const char *pass, const unsigned int) const =0
virtual bool logout (void) const =0
virtual int remove_msg (const unsigned int num) const =0
virtual int status (void) const =0
virtual int scan (void) const =0
void set_connection (Connection *)
void set_ident (unsigned int)
unsigned int ident (void) const 
Protected Attributes
Connection * conn
unsigned int prot_ident
unsigned int connect_type

Constructor & Destructor Documentation
virtual Protocol::~Protocol (void )[inline], [virtual]

Member Function Documentation
unsigned int Protocol::ident (void ) const
virtual bool Protocol::login (const char * usr, const char * pass, const unsigned int) const[pure virtual]

Implemented in POP3 (p.pagenum), and APOP (p.pagenum).
virtual bool Protocol::logout (void ) const[pure virtual]

Implemented in POP3 (p.pagenum).
virtual int Protocol::remove_msg (const unsigned int num) const[pure virtual]

Implemented in POP3 (p.pagenum).
virtual int Protocol::scan (void ) const[pure virtual]

Implemented in POP3 (p.pagenum).
void Protocol::set_connection (Connection * currently_established_connection)
void Protocol::set_ident (unsigned int i)
virtual int Protocol::status (void ) const[pure virtual]

Implemented in POP3 (p.pagenum).

Member Data Documentation
Connection* Protocol::conn[protected]
unsigned int Protocol::connect_type[protected]
unsigned int Protocol::prot_ident[protected]

The documentation for this class was generated from the following files:
protocol.hh
protocol.cc

Score Class Reference

#include <score.hh>
Inheritance diagram for Score:
IMAGE
Public Member Functions
int score (void) const 
void set_score (int)
Protected Attributes
int scr

Member Function Documentation
int Score::score (void ) const
void Score::set_score (int )

Member Data Documentation
int Score::scr[protected]

The documentation for this class was generated from the following file:
score.hh

Size_score Class Reference

#include <score.hh>
Public Attributes
int score
int size

Member Data Documentation
int Size_score::score
int Size_score::size

The documentation for this class was generated from the following file:
score.hh

Socket Class Reference

#include <socket.hh>
Inheritance diagram for Socket:
IMAGE
Public Member Functions
Socket (void)
void clear (void)
int c_open (const char *host, int port, int time_out, int protocol)
int c_close (void) const 
int c_write (const char *command)
int c_read (bool=false)
const string * c_reply (void) const 

Constructor & Destructor Documentation
Socket::Socket (void )

Member Function Documentation
int Socket::c_close (void ) const[virtual]

Implements Connection (p.pagenum).
int Socket::c_open (const char * host, int port, int time_out, int protocol)[virtual]

Implements Connection (p.pagenum).
int Socket::c_read (bool read_header = false)[virtual]

Implements Connection (p.pagenum).
const string * Socket::c_reply (void ) const[virtual]

Implements Connection (p.pagenum).
int Socket::c_write (const char * command)[virtual]

Implements Connection (p.pagenum).
void Socket::clear (void )

The documentation for this class was generated from the following files:
socket.hh
socket.cc

File Documentation
account.cc File Reference
#include <string>
#include <vector>
#include <typeinfo>
#include "account.hh"
#include "pop3.hh"
#include "apop.hh"
#include "preferences.hh"
#include "feedback.hh"
#include "filtermail.hh"
#include "connection.hh"
#include "socket.hh"
#include "defines.hh"
Functions
string int_to_string (int)
Variables
int mailbox_status

Function Documentation
string int_to_string (int )

Variable Documentation
int mailbox_status

account.hh File Reference
#include <string>
#include <vector>
#include "defines.hh"
#include "protocol.hh"
#include "pop3.hh"
#include "apop.hh"
#include "connection.hh"
Classes
class Account

apop.cc File Reference
#include <cstdio>
#include <cstring>
#include "apop.hh"
#include "feedback.hh"
#include "defines.hh"
#include "filtermail.hh"
#include <strings.h>
#include "md5.h"

apop.hh File Reference
#include "pop3.hh"
Classes
class APOP

connection.hh File Reference
#include <string>
Classes
class Connection

feedback.cc File Reference
#include <iostream>
#include <string>
#include <cstring>
#include <fstream>
#include "feedback.hh"
#include "preferences.hh"

feedback.hh File Reference
#include <fstream>
#include <string>
Classes
class Feedback

filter.cc File Reference
#include <iostream>
#include <string>
#include <sys/types.h>
#include <regex.h>
#include "filter.hh"
#include "filtermail.hh"
#include "preferences.hh"

filter.hh File Reference
#include <string>
#include <regex.h>
#include <sys/types.h>
Classes
class Filter
Macros
#define CASE_DEFAULT  REG_ICASE
#define CASE_SENSITIVE  0
#define CASE_INSENSITIVE  REG_ICASE

Macro Definition Documentation
#define CASE_DEFAULT  REG_ICASE
#define CASE_INSENSITIVE  REG_ICASE
#define CASE_SENSITIVE  0

getopt.c File Reference
#include <stdio.h>
#include "getopt.h"
#include <strings.h>
Macros
#define _NO_PROTO
#define const
#define GETOPT_INTERFACE_VERSION  2
#define _(msgid)  (msgid)
#define SWAP_FLAGS(ch1, ch2)
#define NONOPTION_P  (argv[optind][0] != '-' || argv[optind][1] == '\0')
Enumerations
enum { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER }
Functions
char * getenv ()
int _getopt_internal (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only)
int getopt (int argc, char *const *argv, const char *optstring)
Variables
char * optarg
int optind = 1
int __getopt_initialized
int opterr = 1
int optopt = '?'

Macro Definition Documentation
#define _( msgid)  (msgid)
#define _NO_PROTO
#define const
#define GETOPT_INTERFACE_VERSION  2
#define NONOPTION_P  (argv[optind][0] != '-' || argv[optind][1] == '\0')
#define SWAP_FLAGS( ch1,  ch2)

Enumeration Type Documentation
anonymous enum

Enumerator
REQUIRE_ORDER  
PERMUTE  
RETURN_IN_ORDER  

Function Documentation
int _getopt_internal (int argc, char *const * argv, const char * optstring, const struct option * longopts, int * longind, int long_only)
char* getenv ()
int getopt (int argc, char *const * argv, const char * optstring)

Variable Documentation
int __getopt_initialized
char* optarg
int opterr = 1
int optind = 1
int optopt = '?'

getopt.h File Reference
#include <ctype.h>
Classes
struct option
Macros
#define _GETOPT_H  1
#define no_argument  0
#define required_argument  1
#define optional_argument  2
Functions
int getopt ()
int getopt_long ()
int getopt_long_only ()
int _getopt_internal ()
Variables
char * optarg
int optind
int opterr
int optopt

Macro Definition Documentation
#define _GETOPT_H  1
#define no_argument  0
#define optional_argument  2
#define required_argument  1

Function Documentation
int _getopt_internal ()
int getopt ()
int getopt_long ()
int getopt_long_only ()

Variable Documentation
char* optarg
int opterr
int optind
int optopt

getopt1.c File Reference
#include "getopt.h"
#include <stdio.h>
Macros
#define const
#define GETOPT_INTERFACE_VERSION  2
#define NULL  0
Functions
int getopt_long (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index)
int getopt_long_only (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index)

Macro Definition Documentation
#define const
#define GETOPT_INTERFACE_VERSION  2
#define NULL  0

Function Documentation
int getopt_long (int argc, char *const * argv, const char * options, const struct option * long_options, int * opt_index)
int getopt_long_only (int argc, char *const * argv, const char * options, const struct option * long_options, int * opt_index)

filtermail.cc File Reference
#include <iostream>
#include <sstream>
#include <string>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <csignal>
#include <stdexcept>
#include <vector>
#include "filtermail.hh"
#include "preferences.hh"
#include "feedback.hh"
#include "weeder.hh"
#include "time.h"
#include <sys/time.h>
#include "getopt.h"
Functions
void init_app (void)
bool open_prefs (string)
void get_opts (int argc, char *argv[])
void override_prefs (string)
int cmp_no_case (const string &, const string &)
int precompile_expressions (void)
void connect_sigint (int)
string int_to_string (int)
int main (int argc, char *argv[])
string exec_shell (const char *command)
Variables
struct sigaction sigact
Weeder weeder
int mailbox_status

Function Documentation
int cmp_no_case (const string & s, const string & s2)
void connect_sigint (int signo)
string exec_shell (const char * command)
void get_opts (int argc, char * argv[])
void init_app (void )
string int_to_string (int val)
int main (int argc, char * argv[])
bool open_prefs (string )
void override_prefs (string )
int precompile_expressions (void )

Variable Documentation
int mailbox_status
struct sigaction sigact
Weeder weeder

filtermail.hh File Reference
#include <iostream>
Macros
#define VALUE_HELP  1
#define VALUE_VERBOSE  2
#define VALUE_filtermailRC  3
#define VALUE_LOGFILE  4
#define VALUE_VERSION  5
#define VALUE_TEST  6
#define VALUE_RETURN  7
#define VALUE_TIMESTAMP  8
#define ERROR_MSG(msg)

Macro Definition Documentation
#define ERROR_MSG( msg)
Value:cerr << PACKAGE_NAME  \
       << ": Error: "   \
       << msg           \
       << endl
#define VALUE_HELP  1
#define VALUE_LOGFILE  4
#define VALUE_filtermailRC  3
#define VALUE_RETURN  7
#define VALUE_TEST  6
#define VALUE_TIMESTAMP  8
#define VALUE_VERBOSE  2
#define VALUE_VERSION  5

md5.h File Reference
#include <sys/types.h>
#include <inttypes.h>
Classes
struct MD5_CTX
Typedefs
typedef unsigned char * POINTER
Functions
void MD5Init (MD5_CTX *)
void MD5Update (MD5_CTX *, unsigned char *, unsigned int)
void MD5Final (unsigned char[16], MD5_CTX *)
void gethash (char[33], char *, char *)

Typedef Documentation
typedef unsigned char* POINTER

Function Documentation
void gethash (char [33], char * , char * )
void MD5Final (unsigned char[16], MD5_CTX * )
void MD5Init (MD5_CTX * )
void MD5Update (MD5_CTX * , unsigned char * , unsigned int)

md5c.c File Reference
#include "md5.h"
Macros
#define S11  7
#define S12  12
#define S13  17
#define S14  22
#define S21  5
#define S22  9
#define S23  14
#define S24  20
#define S31  4
#define S32  11
#define S33  16
#define S34  23
#define S41  6
#define S42  10
#define S43  15
#define S44  21
#define F(x, y, z)  (((x) & (y)) | ((~x) & (z)))
#define G(x, y, z)  (((x) & (z)) | ((y) & (~z)))
#define H(x, y, z)  ((x) ^ (y) ^ (z))
#define I(x, y, z)  ((y) ^ ((x) | (~z)))
#define ROTATE_LEFT(x, n)  (((x) << (n)) | ((x) >> (32-(n))))
#define FF(a, b, c, d, x, s, ac)
#define GG(a, b, c, d, x, s, ac)
#define HH(a, b, c, d, x, s, ac)
#define II(a, b, c, d, x, s, ac)
Functions
void MD5Init (MD5_CTX *context)
void MD5Update (MD5_CTX *context, unsigned char *input, unsigned int inputLen)
void MD5Final (digest, MD5_CTX *context)

Macro Definition Documentation
#define F( x,  y,  z)  (((x) & (y)) | ((~x) & (z)))
#define FF( a,  b,  c,  d,  x,  s,  ac)
Value:{ \
 (a) += F ((b), (c), (d)) + (x) + (uint32_t)(ac); \
 (a) = ROTATE_LEFT ((a), (s)); \
 (a) += (b); \
  }
#define G( x,  y,  z)  (((x) & (z)) | ((y) & (~z)))
#define GG( a,  b,  c,  d,  x,  s,  ac)
Value:{ \
 (a) += G ((b), (c), (d)) + (x) + (uint32_t)(ac); \
 (a) = ROTATE_LEFT ((a), (s)); \
 (a) += (b); \
  }
#define H( x,  y,  z)  ((x) ^ (y) ^ (z))
#define HH( a,  b,  c,  d,  x,  s,  ac)
Value:{ \
 (a) += H ((b), (c), (d)) + (x) + (uint32_t)(ac); \
 (a) = ROTATE_LEFT ((a), (s)); \
 (a) += (b); \
  }
#define I( x,  y,  z)  ((y) ^ ((x) | (~z)))
#define II( a,  b,  c,  d,  x,  s,  ac)
Value:{ \
 (a) += I ((b), (c), (d)) + (x) + (uint32_t)(ac); \
 (a) = ROTATE_LEFT ((a), (s)); \
 (a) += (b); \
  }
#define ROTATE_LEFT( x,  n)  (((x) << (n)) | ((x) >> (32-(n))))
#define S11  7
#define S12  12
#define S13  17
#define S14  22
#define S21  5
#define S22  9
#define S23  14
#define S24  20
#define S31  4
#define S32  11
#define S33  16
#define S34  23
#define S41  6
#define S42  10
#define S43  15
#define S44  21

Function Documentation
void MD5Final (digest , MD5_CTX * context)
void MD5Init (MD5_CTX * context)
void MD5Update (MD5_CTX * context, unsigned char * input, unsigned int inputLen)

pop3.cc File Reference
#include <cstdio>
#include <cstdlib>
#include <sstream>
#include <string>
#include "socket.hh"
#include "pop3.hh"
#include "feedback.hh"
#include "preferences.hh"
#include "filtermail.hh"
#include "header.hh"
#include "weeder.hh"
#include "defines.hh"
#include "protocol.hh"
#include "rfc822parser.hh"
#include <FlexLexer.h>
Macros
#define yyFlexLexer  rfcFlexLexer
Functions
int rfcparse (void *)
Variables
FlexLexer * rfclexer
Weeder weeder

Macro Definition Documentation
#define yyFlexLexer  rfcFlexLexer

Function Documentation
int rfcparse (void * )

Variable Documentation
FlexLexer* rfclexer
Weeder weeder

pop3.hh File Reference
#include "header.hh"
#include "protocol.hh"
Classes
class POP3
Macros
#define REPLY_OK
#define HEADER_OK

Macro Definition Documentation
#define HEADER_OK
Value:((conn->c_read (true) > 0 && conn->c_reply ())? \
        (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \
                                                         : false)
#define REPLY_OK
Value:((conn->c_read () > 0 && conn->c_reply ()) ?     \
        (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \
                                                         : false)

preferences.cc File Reference
#include <string>
#include <cstring>
#include <cstdlib>
#include <cctype>
#include <fstream>
#include <vector>
#include <stdexcept>
#include <cstdio>
#include "preferences.hh"
#include "filter.hh"
#include "filtermail.hh"
#include "account.hh"
#include "protocol.hh"
#include "score.hh"
#include "rcfile.hh"
#include <wordexp.h>
#include <sys/types.h>
#include <regex.h>
Functions
int rcparse (void *)
int cmp_no_case (const string &, const string &)

Function Documentation
int cmp_no_case (const string & , const string & )
int rcparse (void * )

preferences.hh File Reference
#include <string>
#include <vector>
#include <fstream>
#include "defines.hh"
#include "socket.hh"
#include "filter.hh"
#include "score.hh"
#include "account.hh"
Classes
class Preferences

protocol.cc File Reference
#include "connection.hh"
#include "protocol.hh"

protocol.hh File Reference
#include "connection.hh"
Classes
class Protocol
Macros
#define PROTOCOL_POP3  2
#define PROTOCOL_APOP  4
#define SSL_C  4096

Macro Definition Documentation
#define PROTOCOL_APOP  4
#define PROTOCOL_POP3  2
#define SSL_C  4096

score.hh File Reference
#include "filter.hh"
Classes
class Size_score
class Score

socket.cc File Reference
#include <iostream>
#include <csignal>
#include <cstring>
#include <string>
#include <stdexcept>
#include <sstream>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <setjmp.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <netdb.h>
#include "defines.hh"
#include "filtermail.hh"
#include "feedback.hh"
#include "socket.hh"
#include "protocol.hh"

socket.hh File Reference
#include <string>
#include <csignal>
#include "connection.hh"
Classes
class Socket
Macros
#define MAX_BYTES  512

Macro Definition Documentation
#define MAX_BYTES  512

Index
INDEX