diff options
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r-- | lib/fuse_i.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h index 6f363d8..263ebe2 100644 --- a/lib/fuse_i.h +++ b/lib/fuse_i.h @@ -7,7 +7,6 @@ */ #include "fuse.h" -#include <glib.h> #include <stdio.h> #include <pthread.h> @@ -16,8 +15,11 @@ typedef unsigned long fino_t; struct node { - char *name; + struct node *name_next; + struct node *ino_next; + fino_t ino; fino_t parent; + char *name; int mode; int rdev; int version; @@ -29,7 +31,11 @@ struct fuse { mode_t rootmode; int fd; struct fuse_operations op; - GHashTable *nametab; + struct node **name_table; + size_t name_table_size; + struct node **ino_table; + size_t ino_table_size; + fino_t ctr; pthread_mutex_t lock; }; |