aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_i.h
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2010-11-08 21:13:32 +0100
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2010-11-08 21:13:32 +0100
commit3f41e8f2c3d700930e1e604b2e9116f9f827283f (patch)
tree151ce225bc4a3379a09a98af78acee7388f473a4 /lib/fuse_i.h
parentd04e0ea8ff63ce39127672b4dac3b52a9cc653b2 (diff)
libfuse: add retrieve request
Retrieve data stored in the kernel buffers for a given inode.
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r--lib/fuse_i.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h
index 6d10b1c..9d0de58 100644
--- a/lib/fuse_i.h
+++ b/lib/fuse_i.h
@@ -49,6 +49,14 @@ struct fuse_req {
struct fuse_req *prev;
};
+struct fuse_notify_req {
+ uint64_t unique;
+ void (*reply)(struct fuse_notify_req *, fuse_req_t, fuse_ino_t,
+ const void *, const struct fuse_buf *);
+ struct fuse_notify_req *next;
+ struct fuse_notify_req *prev;
+};
+
struct fuse_ll {
int debug;
int allow_root;
@@ -70,6 +78,8 @@ struct fuse_ll {
int got_destroy;
pthread_key_t pipe_key;
int broken_splice_nonblock;
+ uint64_t notify_ctr;
+ struct fuse_notify_req notify_list;
};
struct fuse_cmd {