summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-24 21:42:45 -0400
committerJune McEnroe <june@causal.agency>2020-08-24 21:42:45 -0400
commit1088ccb9734bb1483e31336440cb1910cd1576b9 (patch)
tree7880c98082698678b7505ab26b6ae8414288c1db /bounce.h
parentReplace “RAND_bytes” by “getentropy” (diff)
downloadpounce-1088ccb9734bb1483e31336440cb1910cd1576b9.tar.gz
pounce-1088ccb9734bb1483e31336440cb1910cd1576b9.zip
Import xdg.c from catgirl
Diffstat (limited to '')
-rw-r--r--bounce.h5
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,