store cache in subdirectory of user ekey

This commit is contained in:
josch
2014-12-29 19:32:15 +01:00
parent 51b2ca1392
commit 3b8ecf3bac
4 changed files with 79 additions and 46 deletions

View File

@@ -29,7 +29,7 @@
typedef struct folder_tree folder_tree;
folder_tree *folder_tree_create(char *filecache);
folder_tree *folder_tree_create(const char *filecache);
void folder_tree_destroy(folder_tree * tree);
@@ -51,7 +51,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, char *filecache);
folder_tree *folder_tree_load(FILE * stream, const char *filecache);
bool folder_tree_path_exists(folder_tree * tree, mfconn * conn,
const char *path);