From 85c74fcdfd9e67d411c3e1734b34effd0d73fa4d Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Sun, 28 Oct 2001 19:44:14 +0000 Subject: x --- lib/fuse_i.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lib/fuse_i.h (limited to 'lib/fuse_i.h') 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 +#include + +#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; +}; -- cgit v1.2.3