aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_i.h
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <mszeredi@suse.cz>2013-06-21 18:17:27 +0200
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2013-06-21 18:17:27 +0200
commit561d7054d856eea6c2d634093546d6af773dada9 (patch)
tree834081dc3e406f37af0f2c00d3d6ca515f217738 /lib/fuse_i.h
parent5334a152e1272a072339fb4519de04ed4269d3ca (diff)
libfuse: remove fuse_chan_bufsize()
Remove fuse_chan_bufsize() from the lowlevel API. fuse_session_receive_buf() is now responsible for allocating memory for the buffer.
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r--lib/fuse_i.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h
index 741c3d5..15834c7 100644
--- a/lib/fuse_i.h
+++ b/lib/fuse_i.h
@@ -103,6 +103,7 @@ struct fuse_ll {
int broken_splice_nonblock;
uint64_t notify_ctr;
struct fuse_notify_req notify_list;
+ size_t bufsize;
};
struct fuse_chan *fuse_kern_chan_new(int fd);
@@ -130,11 +131,9 @@ void *fuse_session_data(struct fuse_session *se);
*
* @param op channel operations
* @param fd file descriptor of the channel
- * @param bufsize the minimal receive buffer size
* @return the new channel object, or NULL on failure
*/
-struct fuse_chan *fuse_chan_new(struct fuse_chan_ops *op, int fd,
- size_t bufsize);
+struct fuse_chan *fuse_chan_new(struct fuse_chan_ops *op, int fd);
/**
* Query the session to which this channel is assigned