diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2013-06-21 18:17:27 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-06-21 18:17:27 +0200 |
commit | 561d7054d856eea6c2d634093546d6af773dada9 (patch) | |
tree | 834081dc3e406f37af0f2c00d3d6ca515f217738 /lib/fuse_i.h | |
parent | 5334a152e1272a072339fb4519de04ed4269d3ca (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.h | 5 |
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 |