globals.h
1b1b19d8
 /*
4bd1673d
  * $Id$
1b1b19d8
  *
  * global variables
  *
  */
 
 
 #ifndef globals_h
 #define globals_h
 
4bd1673d
 #include "types.h"
 
1b1b19d8
 #define NO_DNS     0
 #define DO_DNS     1
 #define DO_REV_DNS 2
 
 
 extern char * cfg_file;
f571aa35
 extern char *stat_file;
1b1b19d8
 extern unsigned short port_no;
b2e71d5b
 extern char port_no_str[];
 extern int port_no_str_len;
c3ce2841
 extern unsigned int maxbuffer;
1b1b19d8
 extern char * names[];
b2e71d5b
 extern int names_len[];
1b1b19d8
 extern unsigned long addresses[];
 extern int addresses_no;
7268726e
 extern int children_no;
1b1b19d8
 extern int debug;
 extern int dont_fork;
 extern int log_stderr;
 extern int check_via;
 extern int received_dns;
676eb608
 extern int loop_checks;
cbd9fc8b
 extern int process_no;
4bd1673d
 
 extern process_bm_t process_bit;
cbd9fc8b
 extern int *pids;
1b1b19d8
 
63fa628f
 extern int cfg_errors;
e72b5b50
 extern unsigned int msg_no;
1b1b19d8
 
 #endif