📄 globals.c
字号:
/* $Id: globals.c,v 1.81 2006/07/03 00:17:46 relson Exp $ *//*****************************************************************************NAME: globals.c -- define global variablesAUTHOR: Matthias Andree <matthias.andree@gmx.de>******************************************************************************/#include "system.h"#include "globals.h"#include "score.h"/* exports */bool fBogofilter = false;bool fBogotune = false;bool fBogoutil = false;/* command line options */bulk_t bulk_mode = B_NORMAL; /* '-b, -B' */bool suppress_config_file; /* '-C' */bool nonspam_exits_zero; /* '-e' */FILE *fpin = NULL; /* '-I' */bool logflag; /* '-l' */bool mbox_mode; /* '-M' */bool replace_nonascii_characters; /* '-n' */bool passthrough; /* '-p' */bool pairs = false; /* '-P' */bool quiet; /* '-q' */int query; /* '-Q' */bool Rtable; /* '-R' */bool terse; /* '-t' */int bogotest; /* '-X', env("BOGOTEST") */int verbose; /* '-v' *//* config file options */double min_dev;double ham_cutoff = HAM_CUTOFF;double spam_cutoff;double thresh_update;uint min_token_len = MIN_TOKEN_LEN;uint max_token_len = MAX_TOKEN_LEN;uint max_multi_token_len = 0;uint multi_token_count = MUL_TOKEN_CNT;const char *update_dir;/*@observer@*/const char *stats_prefix;/* for lexer_v3.l */bool header_line_markup = true; /* -H *//* for transactions */#ifndef ENABLE_TRANSACTIONSe_txn eTransaction = T_DEFAULT_OFF;#elsee_txn eTransaction = T_DEFAULT_ON;#endif/* for encodings */e_enc encoding = E_UNKNOWN;/* for bogoconfig.c, prob.c, rstats.c and score.c */double robx = 0.0;double robs = 0.0;double sp_esf = SP_ESF;double ns_esf = NS_ESF;/* other */FILE *fpo;uint db_cachesize = DB_CACHESIZE; /* in MB */enum passmode passmode; /* internal */bool msg_count_file = false;char *progtype = NULL;bool unsure_stats = false; /* true if print stats for unsures */run_t run_type = RUN_UNKNOWN;uint wordlist_version;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -