summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-16 17:03:31 -0400
committerJune McEnroe <june@causal.agency>2021-10-16 17:03:31 -0400
commitb6cf41ab77a4324b4f4cf0bc9e3d82a5fef9ebd4 (patch)
tree45fb76bbe6f5037d5827130c89e63e6d9cc22c16 /chat.h
parentchroot: Factor out and add OpenBSD build (diff)
downloadcatgirl-b6cf41ab77a4324b4f4cf0bc9e3d82a5fef9ebd4.tar.gz
catgirl-b6cf41ab77a4324b4f4cf0bc9e3d82a5fef9ebd4.zip
Import refactored xdg.c from pounce
Diffstat (limited to '')
-rw-r--r--chat.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chat.h b/chat.h
index eec0e44..19d2b18 100644
--- a/chat.h
+++ b/chat.h
@@ -404,11 +404,10 @@ void logFormat(uint id, const time_t *time, const char *format, ...)
 	__attribute__((format(printf, 3, 4)));
 void logClose(void);
 
-const char *configPath(const char **dirs, const char *path);
-const char *dataPath(const char **dirs, const char *path);
+char *configPath(char *buf, size_t cap, const char *path, int i);
+char *dataPath(char *buf, size_t cap, const char *path, int i);
 FILE *configOpen(const char *path, const char *mode);
 FILE *dataOpen(const char *path, const char *mode);
-const char *dataMkdir(const char *path);
 
 int getopt_config(
 	int argc, char *const *argv,
uses of pattend with newline patternsJune McEnroe 2019-02-10Add hi debug outputJune McEnroe 2019-02-10Actually do HTML &quot; escapingJune McEnroe 2019-02-10Set git commit.verboseJune McEnroe 2019-02-10Add back missing static keywordJune McEnroe