aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-03-01 12:10:13 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2006-03-01 12:10:13 +0000
commit5d9ce36da4688ba2c14f658ed40b5b4ad971879b (patch)
tree379c5435a0741965848f8eb2449bef9c8b4d080c /include
parentee588c01dca3991807aea456a66246ff8ad0c332 (diff)
downloadlibfuse-5d9ce36da4688ba2c14f658ed40b5b4ad971879b.tar.gz
fix
Diffstat (limited to 'include')
-rw-r--r--include/fuse_lowlevel.h6
-rw-r--r--include/fuse_lowlevel_compat.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index bdcbfed..f042dfb 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -1177,12 +1177,14 @@ struct fuse_session *fuse_chan_session(struct fuse_chan *ch);
/**
* Receive a raw request
*
+ * A return value of -ENODEV means, that the filesystem was unmounted
+ *
* @param ch the channel
* @param buf the buffer to store the request in
* @param size the size of the buffer
- * @return the actual size of the raw request, or -1 on error
+ * @return the actual size of the raw request, or -errno on error
*/
-int fuse_chan_receive(struct fuse_chan *ch, char *buf, size_t size);
+int fuse_chan_recv(struct fuse_chan *ch, char *buf, size_t size);
/**
* Send a raw reply
diff --git a/include/fuse_lowlevel_compat.h b/include/fuse_lowlevel_compat.h
index f6e116c..be4d4d8 100644
--- a/include/fuse_lowlevel_compat.h
+++ b/include/fuse_lowlevel_compat.h
@@ -88,4 +88,6 @@ struct fuse_session *fuse_lowlevel_new_compat(const char *opts,
const struct fuse_lowlevel_ops *op,
size_t op_size, void *userdata);
+int fuse_chan_receive(struct fuse_chan *ch, char *buf, size_t size);
+
#endif /* __FreeBSD__ */