aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2001-10-28 19:44:14 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2001-10-28 19:44:14 +0000
commit85c74fcdfd9e67d411c3e1734b34effd0d73fa4d (patch)
tree908e39d3e0b84bd733261cdde16ef6ae707f2352 /lib/fuse_i.h
parent90d8bef61c8c40472ddfb1aafeeb6473ec51a053 (diff)
downloadlibfuse-85c74fcdfd9e67d411c3e1734b34effd0d73fa4d.tar.gz
x
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r--lib/fuse_i.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h
new file mode 100644
index 0000000..b3b907b
--- /dev/null
+++ b/lib/fuse_i.h
@@ -0,0 +1,33 @@
+/*
+ FUSE: Filesystem in Userspace
+ Copyright (C) 2001 Miklos Szeredi (mszeredi@inf.bme.hu)
+
+ This program can be distributed under the terms of the GNU GPL.
+ See the file COPYING.
+*/
+
+#include "fuse.h"
+#include <glib.h>
+#include <stdio.h>
+
+#define FUSE_DEV "/proc/fs/fuse/dev"
+
+typedef unsigned long fino_t;
+
+struct node {
+ char *name;
+ fino_t parent;
+};
+
+struct fuse {
+ char *dir;
+ int fd;
+ struct fuse_operations op;
+ GHashTable *nametab;
+};
+
+struct fuse_dh {
+ struct fuse *fuse;
+ fino_t dir;
+ FILE *fp;
+};