From 561d7054d856eea6c2d634093546d6af773dada9 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 21 Jun 2013 18:17:27 +0200 Subject: 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. --- lib/fuse_i.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/fuse_i.h') 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 -- cgit v1.2.3