diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-07-30 17:33:40 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-07-30 17:33:40 +0000 |
commit | 9a5c11d132298239be66d7538c3f8c6b03f8ad95 (patch) | |
tree | e5a676b6f20f663d7574ca7a5ca9eda6e9ab6b8e /include/fuse.h | |
parent | 3b0e4faeaf38e234b8c1209ec92824691503995f (diff) | |
download | libfuse-9a5c11d132298239be66d7538c3f8c6b03f8ad95.tar.gz |
fixes
Diffstat (limited to 'include/fuse.h')
-rw-r--r-- | include/fuse.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/fuse.h b/include/fuse.h index fe52531..ad2ef00 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -22,10 +22,11 @@ #include "fuse_common.h" +#include <fcntl.h> +#include <utime.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/statvfs.h> -#include <utime.h> #ifdef __cplusplus extern "C" { @@ -361,6 +362,9 @@ struct fuse_operations { * Introduced in version 2.5 */ int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *); + + int (*lock) (const char *, struct fuse_file_info *, int cmd, + struct flock *, uint64_t owner); }; /** Extra context that may be needed by some filesystems |