hashtbl: do not expose h_entry at all

This commit is contained in:
josch
2014-09-28 07:39:13 +02:00
parent 690091721a
commit 43c0b09f70
3 changed files with 131 additions and 94 deletions

View File

@@ -21,11 +21,11 @@
#include <fuse/fuse.h>
#include <stdio.h>
#include <stdbool.h>
#include "../mfapi/mfconn.h"
typedef struct folder_tree folder_tree;
typedef struct h_entry h_entry;
folder_tree *folder_tree_create(void);
@@ -35,8 +35,7 @@ int folder_tree_rebuild(folder_tree * tree, mfconn * conn);
void folder_tree_housekeep(folder_tree * tree, mfconn * conn);
void folder_tree_debug(folder_tree * tree, h_entry * ent,
int depth);
void folder_tree_debug(folder_tree * tree);
int folder_tree_getattr(folder_tree * tree, const char *path,
struct stat *stbuf);
@@ -50,4 +49,6 @@ int folder_tree_store(folder_tree * tree, FILE * stream);
folder_tree *folder_tree_load(FILE * stream);
bool folder_tree_path_exists(folder_tree * tree, const char *path);
#endif