Parent Directory
|
Revision Log
chore: add trunk
1 | rakinar2 | 575 | #ifndef SUDOBOT_FLAGS_H |
2 | #define SUDOBOT_FLAGS_H | ||
3 | |||
4 | #include <stdbool.h> | ||
5 | |||
6 | extern char *opt_env_file_path; | ||
7 | |||
8 | enum sudobot_flags | ||
9 | { | ||
10 | FLAG_UPDATE_COMMANDS = 1 | ||
11 | }; | ||
12 | |||
13 | void flags_add(int flag); | ||
14 | void flags_remove(int flag); | ||
15 | void flags_set(int new_flags); | ||
16 | void flags_clear(); | ||
17 | int flags_get(); | ||
18 | bool flags_has(int flag); | ||
19 | void opt_cleanup(); | ||
20 | |||
21 | #endif /* SUDOBOT_FLAGS_H */ |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |