Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

pref::Preferences Class Reference

#include <preferences.hh>

List of all members.

Public Member Functions

 Preferences (void)
 ~Preferences (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 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)


Constructor & Destructor Documentation

pref::Preferences::Preferences void   ) 
 

pref::Preferences::~Preferences void   ) 
 


Member Function Documentation

vector< Account > * pref::Preferences::accounts void   ) 
 

void pref::Preferences::add_allow_rule const char *  ,
const char *  ,
const char * 
 

void pref::Preferences::add_deny_rule const char *  ,
const char *  ,
const char * 
 

void pref::Preferences::add_score const char *  ,
int  ,
const char *  ,
const char * 
 

vector< Filter > * pref::Preferences::allow_filters void   ) 
 

int pref::Preferences::default_case void   ) 
 

bool pref::Preferences::delete_duplicates void   ) 
 

vector< Filter > * pref::Preferences::deny_filters void   ) 
 

string pref::Preferences::headers_file void   ) 
 

int pref::Preferences::highscore void   ) 
 

bool pref::Preferences::load void   ) 
 

string pref::Preferences::log_file void   ) 
 

int pref::Preferences::max_size_allow void   ) 
 

int pref::Preferences::max_size_deny void   ) 
 

Size_score pref::Preferences::max_size_score void   ) 
 

int pref::Preferences::maxlength void   ) 
 

int pref::Preferences::neg_allows void   ) 
 

int pref::Preferences::neg_denies void   ) 
 

bool pref::Preferences::normal void   ) 
 

bool pref::Preferences::open const char *   ) 
 

string pref::Preferences::rc_file void   ) 
 

int pref::Preferences::reg_type void   ) 
 

bool pref::Preferences::return_status void   ) 
 

vector< Score > * pref::Preferences::score_filters void   ) 
 

void pref::Preferences::set_connection unsigned  int = POSIX_SOCKETS  ) 
 

void pref::Preferences::set_default_case const char *   ) 
 

void pref::Preferences::set_del_duplicates const char *   ) 
 

void pref::Preferences::set_headers_file const char *   ) 
 

void pref::Preferences::set_highscore int   ) 
 

void pref::Preferences::set_log_file const char *   ) 
 

void pref::Preferences::set_max_size_allow int   ) 
 

void pref::Preferences::set_max_size_deny int   ) 
 

void pref::Preferences::set_max_size_score int  ,
int 
 

void pref::Preferences::set_maxlength int   ) 
 

void pref::Preferences::set_normal const char *   ) 
 

void pref::Preferences::set_passwd const char *   ) 
 

void pref::Preferences::set_port unsigned  int  ) 
 

void pref::Preferences::set_protocol const char *   ) 
 

void pref::Preferences::set_rc_file const char *   ) 
 

void pref::Preferences::set_reg_type const char *   ) 
 

void pref::Preferences::set_return_status bool   ) 
 

void pref::Preferences::set_server const char *   ) 
 

void pref::Preferences::set_test_mode const char *   ) 
 

void pref::Preferences::set_time_out unsigned  int  ) 
 

void pref::Preferences::set_usr const char *   ) 
 

void pref::Preferences::set_verbose_level int   ) 
 

bool pref::Preferences::test_mode void   ) 
 

unsigned int pref::Preferences::time_out void   ) 
 

int pref::Preferences::verbose_level void   ) 
 


The documentation for this class was generated from the following files:
Generated on Sat Feb 14 18:38:57 2004 for mailfilter by doxygen 1.3.5