Preferences Class Reference

#include <preferences.hh>

List of all members.

Static Public Member Functions

static void init (void)
static void kill (void)
static bool open (const char *)
static bool load (void)
static void add_deny_rule (const char *, const char *, const char *)
static void add_allow_rule (const char *, const char *, const char *)
static void add_score (const char *, int, const char *, const char *)
static int neg_allows (void)
static int neg_denies (void)
static void set_rc_file (const char *)
static string rc_file (void)
static void set_log_file (const char *)
static string log_file (void)
static void set_verbose_level (int)
static int verbose_level (void)
static void set_headers_file (const char *)
static string headers_file (void)
static void set_default_case (const char *)
static int default_case (void)
static void set_reg_type (const char *)
static int reg_type (void)
static void set_server (const char *)
static void set_usr (const char *)
static void set_passwd (const char *)
static void set_protocol (const char *)
static void set_connection (unsigned int=POSIX_SOCKETS) __attribute__((unused))
static void set_port (unsigned int)
static unsigned int time_out (void)
static void set_time_out (unsigned int)
static bool delete_duplicates (void)
static void set_del_duplicates (const char *)
static int max_size_allow (void)
static void set_max_size_allow (int)
static int max_size_deny (void)
static void set_max_size_deny (int)
static Size_score max_size_score (void)
static void set_max_size_score (int, int)
static int highscore (void)
static void set_highscore (int)
static bool normal (void)
static void set_normal (const char *)
static bool test_mode (void)
static void set_test_mode (const char *)
static int maxlength (void)
static void set_maxlength (int)
static bool return_status (void)
static void set_return_status (bool)
static vector< Account > * accounts (void)
static vector< Filter > * allow_filters (void)
static vector< Filter > * deny_filters (void)
static vector< Score > * score_filters (void)

Static Protected Attributes

static ifstream prefs_stream
static vector< Filterallows
static vector< Filterdenies
static vector< Scorescores
static vector< Accountaccnts
static Account cur_account
static string prefs_file_name
static string log_file_name
static string headers_file_name
static int icase
static bool norm
static bool test
static bool show_headers
static bool del_duplicates
static bool ret_status
static int high_score
static unsigned time_out_val
static int max_size
static Size_score size_score
static int max_size_friends
static int max_line_length
static int rreg_type
static int verbosity
static int conn_type
static int negative_allows
static int negative_denies
static int negative_scores
static bool verbosity_changed
static bool test_changed


Member Function Documentation

vector< Account > * Preferences::accounts ( void   )  [static]

void Preferences::add_allow_rule ( const char *  ,
const char *  ,
const char *   
) [static]

void Preferences::add_deny_rule ( const char *  ,
const char *  ,
const char *   
) [static]

void Preferences::add_score ( const char *  ,
int  ,
const char *  ,
const char *   
) [static]

vector< Filter > * Preferences::allow_filters ( void   )  [static]

int Preferences::default_case ( void   )  [static]

bool Preferences::delete_duplicates ( void   )  [static]

vector< Filter > * Preferences::deny_filters ( void   )  [static]

string Preferences::headers_file ( void   )  [static]

int Preferences::highscore ( void   )  [static]

void Preferences::init ( void   )  [static]

void Preferences::kill ( void   )  [static]

bool Preferences::load ( void   )  [static]

string Preferences::log_file ( void   )  [static]

int Preferences::max_size_allow ( void   )  [static]

int Preferences::max_size_deny ( void   )  [static]

Size_score Preferences::max_size_score ( void   )  [static]

int Preferences::maxlength ( void   )  [static]

int Preferences::neg_allows ( void   )  [static]

int Preferences::neg_denies ( void   )  [static]

bool Preferences::normal ( void   )  [static]

bool Preferences::open ( const char *   )  [static]

string Preferences::rc_file ( void   )  [static]

int Preferences::reg_type ( void   )  [static]

bool Preferences::return_status ( void   )  [static]

vector< Score > * Preferences::score_filters ( void   )  [static]

void Preferences::set_connection ( unsigned  int = POSIX_SOCKETS  )  [static]

void Preferences::set_default_case ( const char *   )  [static]

void Preferences::set_del_duplicates ( const char *   )  [static]

void Preferences::set_headers_file ( const char *   )  [static]

void Preferences::set_highscore ( int   )  [static]

void Preferences::set_log_file ( const char *   )  [static]

void Preferences::set_max_size_allow ( int   )  [static]

void Preferences::set_max_size_deny ( int   )  [static]

void Preferences::set_max_size_score ( int  ,
int   
) [static]

void Preferences::set_maxlength ( int   )  [static]

void Preferences::set_normal ( const char *   )  [static]

void Preferences::set_passwd ( const char *   )  [static]

void Preferences::set_port ( unsigned  int  )  [static]

void Preferences::set_protocol ( const char *   )  [static]

void Preferences::set_rc_file ( const char *   )  [static]

void Preferences::set_reg_type ( const char *   )  [static]

void Preferences::set_return_status ( bool   )  [static]

void Preferences::set_server ( const char *   )  [static]

void Preferences::set_test_mode ( const char *   )  [static]

void Preferences::set_time_out ( unsigned  int  )  [static]

void Preferences::set_usr ( const char *   )  [static]

void Preferences::set_verbose_level ( int   )  [static]

bool Preferences::test_mode ( void   )  [static]

unsigned int Preferences::time_out ( void   )  [static]

int Preferences::verbose_level ( void   )  [static]


Member Data Documentation

vector<Account> Preferences::accnts [static, protected]

vector<Filter> Preferences::allows [static, protected]

int Preferences::conn_type [static, protected]

Account Preferences::cur_account [static, protected]

bool Preferences::del_duplicates [static, protected]

vector<Filter> Preferences::denies [static, protected]

string Preferences::headers_file_name [static, protected]

int Preferences::high_score [static, protected]

int Preferences::icase [static, protected]

string Preferences::log_file_name [static, protected]

int Preferences::max_line_length [static, protected]

int Preferences::max_size [static, protected]

int Preferences::max_size_friends [static, protected]

int Preferences::negative_allows [static, protected]

int Preferences::negative_denies [static, protected]

int Preferences::negative_scores [static, protected]

bool Preferences::norm [static, protected]

string Preferences::prefs_file_name [static, protected]

ifstream Preferences::prefs_stream [static, protected]

bool Preferences::ret_status [static, protected]

int Preferences::rreg_type [static, protected]

vector<Score> Preferences::scores [static, protected]

bool Preferences::show_headers [static, protected]

Size_score Preferences::size_score [static, protected]

bool Preferences::test [static, protected]

bool Preferences::test_changed [static, protected]

unsigned Preferences::time_out_val [static, protected]

int Preferences::verbosity [static, protected]

bool Preferences::verbosity_changed [static, protected]


The documentation for this class was generated from the following files:
Generated on Sun Oct 1 10:22:32 2006 for mailfilter by  doxygen 1.4.7