aboutsummaryrefslogtreecommitdiff
path: root/src/flags.h
blob: 834420572a33449fc9e9a2a1a2dbb25328c7701f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef GRAB_FLAGS_H
#define GRAB_FLAGS_H

typedef struct {
	bool c : 1;
	bool i : 1;
	bool l : 1;
	bool p : 1;
	bool s : 1;
	bool U : 1;
	bool z : 1;

#if !GIT_GRAB
	bool do_header : 1;
#endif
} flags_t;

#if !MAIN_C
extern
#endif
flags_t flags;

#endif /* !GRAB_FLAGS_H */