From 3f41e8f2c3d700930e1e604b2e9116f9f827283f Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 8 Nov 2010 21:13:32 +0100 Subject: libfuse: add retrieve request Retrieve data stored in the kernel buffers for a given inode. --- lib/fuse_i.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/fuse_i.h') 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 { -- cgit v1.2.3