1 #ifndef LOADCONFIG_H 2 #define LOADCONFIG_H 3 4 #include <stdio.h> 5 6 #define TOKENS " \n" 7 #define VERSION "1.8" 8 9 enum { 10 BUFSIZE = 1024, 11 KEYSIZE = 64, 12 VALSIZE = 256 13 }; 14 15 extern int wcnt; 16 extern int bcnt; 17 extern int pcnt; 18 extern int enable_subj_filt; 19 20 extern char logtype[VALSIZE]; 21 extern char logfile[VALSIZE]; 22 extern char ignorefile[VALSIZE]; 23 extern char highfile[VALSIZE]; 24 extern char badmailfile[VALSIZE]; 25 extern char hostname[VALSIZE]; 26 extern char sysadmin[VALSIZE]; 27 extern char statfile[VALSIZE]; 28 extern char mail_command[VALSIZE]; 29 extern char makemap_command[VALSIZE]; 30 extern char qsheff_rules_file[VALSIZE]; 31 extern char trim_subj_str[VALSIZE]; 32 33 void 34 loadconfig(const char *); 35 36 void 37 readconfig(const char *); 38 39 40 #endif 41