aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2007-05-23 15:21:55 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2007-05-23 15:21:55 +0000
commitbd63af1c8459d1fdd5e8aa5f596a86dec5539e93 (patch)
treeaddda0fd22e478e26503c39f396a1887c4be8733 /include
parenta2776e73f2acd9299bd762ae469bce2c676ebe0b (diff)
lowlevel lib: add fuse_reply_iov function...
Diffstat (limited to 'include')
-rw-r--r--include/fuse_lowlevel.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index 8b0e3ee..b55eeb2 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -913,6 +913,19 @@ int fuse_reply_write(fuse_req_t req, size_t count);
int fuse_reply_buf(fuse_req_t req, const char *buf, size_t size);
/**
+ * Reply with data vector
+ *
+ * Possible requests:
+ * read, readdir, getxattr, listxattr
+ *
+ * @param req request handle
+ * @param iov the vector containing the data
+ * @param count the size of vector
+ * @return zero for success, -errno for failure to send reply
+ */
+int fuse_reply_iov(fuse_req_t req, const struct iovec *iov, int count);
+
+/**
* Reply with filesystem statistics
*
* Possible requests: