diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2001-11-09 14:49:18 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2001-11-09 14:49:18 +0000 |
commit | 8cffdb9707f6d2b19a8cf639f1ec159bb5f55695 (patch) | |
tree | d4581e099df031e1b344350a25bd9d55d15eb267 /include/linux/fuse.h | |
parent | 552c2816d7c3f5ac4a909108c13bdbddf7c2fc48 (diff) | |
download | libfuse-8cffdb9707f6d2b19a8cf639f1ec159bb5f55695.tar.gz |
preparing for release
Diffstat (limited to 'include/linux/fuse.h')
-rw-r--r-- | include/linux/fuse.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h index 4f64336..035d0be 100644 --- a/include/linux/fuse.h +++ b/include/linux/fuse.h @@ -8,16 +8,32 @@ /* This file defines the kernel interface of FUSE */ - +/** Version number of this interface */ #define FUSE_KERNEL_VERSION 1 +/** The inode number of the root indode */ +#define FUSE_ROOT_INO 1 + +/** Opening this will yield a new control file */ +#define FUSE_DEV "/proc/fs/fuse/dev" + +/** Data passed to mount */ struct fuse_mount_data { + /** Must be set to FUSE_KERNEL_VERSION */ int version; + + /** The control file descriptor */ int fd; + + /** The file type of the root inode */ unsigned int rootmode; -}; -#define FUSE_ROOT_INO 1 + /** The user ID of the user initiating this mount */ + unsigned int uid; + + /** FUSE specific mount flags */ + unsigned int flags; +}; struct fuse_attr { unsigned int mode; |