diff options
Diffstat (limited to 'FICS/ficsmain.h')
| -rw-r--r-- | FICS/ficsmain.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FICS/ficsmain.h b/FICS/ficsmain.h index 071ce2f..024959e 100644 --- a/FICS/ficsmain.h +++ b/FICS/ficsmain.h @@ -30,6 +30,7 @@ #include <sys/stat.h> #include <fcntl.h> +#include <stdbool.h> #include <unistd.h> #include "common.h" @@ -65,6 +66,8 @@ #define STATS_GAMES "games" #define STATS_JOURNAL "journal" +#define UID_SUPER_USER 0 + enum { OPFL_APPEND, OPFL_WRITE, @@ -79,6 +82,8 @@ extern const mode_t g_open_modes; /* Arguments */ extern int port; extern int withConsole; + +bool is_super_user(void); __FICS_END_DECLS #endif /* _FICSMAIN_H */ |
