reorganize configuration and cache location handling

- follow XDG basedir spec
This commit is contained in:
josch
2014-11-03 20:33:48 +01:00
parent 1e4a217157
commit 720d5da086
3 changed files with 104 additions and 77 deletions

View File

@@ -28,7 +28,7 @@
typedef struct folder_tree folder_tree;
folder_tree *folder_tree_create(void);
folder_tree *folder_tree_create(char *filecache);
void folder_tree_destroy(folder_tree * tree);
@@ -49,7 +49,7 @@ void folder_tree_update(folder_tree * tree, mfconn * conn);
int folder_tree_store(folder_tree * tree, FILE * stream);
folder_tree *folder_tree_load(FILE * stream);
folder_tree *folder_tree_load(FILE * stream, char *filecache);
bool folder_tree_path_exists(folder_tree * tree, mfconn * conn,
const char *path);