summaryrefslogtreecommitdiff
path: root/src/server/main.h
blob: a3591700a8ba10fbb31e802bc533534525269dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ISC license. */

#ifndef S6RCD_MAIN_H
#define S6RCD_MAIN_H


 /* Misc globals, exported by the file containing main() */

typedef struct globalflags_s globalflags_t, *globalflags_t_ref ;
struct globalflags_s
{
  uint8_t lameduck : 1 ;
  uint8_t dbupdate : 1 ;
} ;

extern globalflags_t flags ;
extern tain_t lameduckdeadline ;
extern unsigned int verbosity ;

#endif