aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ficsmain.h
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-10-04 13:20:39 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2025-10-04 13:20:39 +0200
commit85b030a13a3c802c2d8e9d064e7c8665c2a0c54a (patch)
treed79e021b78f2370c66e5f729bf073a9ad6da925a /FICS/ficsmain.h
parent846d9b7da075604306e08936a1a625880eab03c0 (diff)
Added more open flags
Diffstat (limited to 'FICS/ficsmain.h')
-rw-r--r--FICS/ficsmain.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/FICS/ficsmain.h b/FICS/ficsmain.h
index 08ea466..071ce2f 100644
--- a/FICS/ficsmain.h
+++ b/FICS/ficsmain.h
@@ -65,8 +65,15 @@
#define STATS_GAMES "games"
#define STATS_JOURNAL "journal"
+enum {
+ OPFL_APPEND,
+ OPFL_WRITE,
+ OPFL_APLUS,
+ OPFL_WPLUS
+};
+
__FICS_BEGIN_DECLS
-extern const int g_open_flags[2];
+extern const int g_open_flags[4];
extern const mode_t g_open_modes;
/* Arguments */