summaryrefslogtreecommitdiff
path: root/src/server/main.h
blob: c8495a7662788760351ab9152a24113c18c56727 (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


 /* Exported by the main file, s6-rcd.c */

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