File: readconf.h

package info (click to toggle)
bass 1.0.7-2
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 988 kB
  • ctags: 721
  • sloc: ansic: 2,545; makefile: 133; sh: 111
file content (39 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef SEEN_READCONF_H
#define SEEN_READCONF_H
/*

readconf.h

Author: Liraz Siri <liraz@bigfoot.com>

Copyright (c) 1998 Liraz Siri <liraz@bigfoot.com>, Ariel, Israel,
              All rights reserved.

Created: Wed Dec  2 15:34:29 IST 1998

configuration structures and routines.

*/

typedef struct {
  char *log_file;                 /* results log file (ussually usefull 
				     information) */

  float jpm;                      /* jobs per minute, use in our scheduling
				     system */
  int generic_timer;              /* generic timer, used seperately in
				     different blocking routines we wrap */
  int coward_mode;              /* exhibit coward socail phobias (play
				     dead when anyone is around) */
  int verbose_mode;               /* log boring, useless information,
				     (errors, dead hosts, timeouts, etc). */

  long recover_point;             /* the number of hosts we've managed to
				     scan so far (strictly recovery system)*/
  struct list *host_lists;        /* host lists */
} Options;


/* initialize default option values */
void readconf_default(Options *options);
#endif