1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 02:56:35 +01:00

Implement proper config directories.

This commit is contained in:
Simon Levermann
2013-08-08 16:00:12 +02:00
parent c7463f0de2
commit c3c144ddd0
4 changed files with 135 additions and 65 deletions

View File

@@ -23,5 +23,11 @@
#else
#define CONFIGDIR "/toxic/"
#endif
#ifndef S_ISDIR
#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
#endif
char *get_user_config_dir(void);
char *get_user_config_dir(void);
int create_user_config_dir(char *path);