From 76c1752f14177a5c56f9cfa5aaac5b346823d47b Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 13 Jul 2005 14:08:19 +0000 Subject: inode based API first working version --- include/fuse.h | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index 40c9b72..24e8871 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -31,6 +31,8 @@ #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags! #endif +#include "fuse_common.h" + #include #include #include @@ -63,20 +65,6 @@ typedef struct fuse_dirhandle *fuse_dirh_t; typedef int (*fuse_dirfil_t) (fuse_dirh_t h, const char *name, int type, ino_t ino); -/** Information about open files */ -struct fuse_file_info { - /** Open flags. Available in open() and release() */ - int flags; - - /** File handle. May be filled in by filesystem in open(). - Available in all other file operations */ - unsigned long fh; - - /** In case of a write operation indicates if this was caused by a - writepage */ - int writepage; -}; - /** * The file system operations: * @@ -459,12 +447,9 @@ int fuse_loop_mt(struct fuse *f); struct fuse_context *fuse_get_context(void); /** - * Invalidate cached data of a file. - * - * Useful if the 'kernel_cache' mount option is given, since in that - * case the cache is not invalidated on file open. - * - * @return 0 on success or -errno on failure + * Obsolete, doesn't do anything + * + * @return 0 */ int fuse_invalidate(struct fuse *f, const char *path); -- cgit v1.2.3