diff options
author | June McEnroe <june@causal.agency> | 2020-08-24 21:42:45 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-24 21:42:45 -0400 |
commit | 1088ccb9734bb1483e31336440cb1910cd1576b9 (patch) | |
tree | 7880c98082698678b7505ab26b6ae8414288c1db /bounce.h | |
parent | Replace “RAND_bytes” by “getentropy” (diff) | |
download | pounce-1088ccb9734bb1483e31336440cb1910cd1576b9.tar.gz pounce-1088ccb9734bb1483e31336440cb1910cd1576b9.zip |
Import xdg.c from catgirl
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h index 986bd5a..b09a349 100644 --- a/bounce.h +++ b/bounce.h @@ -208,6 +208,11 @@ void stateSync(struct Client *client); const char *stateNick(void); const char *stateEcho(void); +const char *configPath(const char **dirs, const char *path); +const char *dataPath(const char **dirs, const char *path); +FILE *configOpen(const char *path, const char *mode); +FILE *dataOpen(const char *path, const char *mode); + struct option; int getopt_config( int argc, char *const *argv, |