aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_lowlevel_compat.h
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2006-03-17 15:56:05 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2006-03-17 15:56:05 +0000
commit8d975f6fb3f54c82f295b5e44391637a7c008345 (patch)
treeb86bb953018aaf573bb88df08cd48df97bc02d75 /include/fuse_lowlevel_compat.h
parent6f385414b27e929bd14435ea8342cde4bae0ef8d (diff)
fix
Diffstat (limited to 'include/fuse_lowlevel_compat.h')
-rw-r--r--include/fuse_lowlevel_compat.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/fuse_lowlevel_compat.h b/include/fuse_lowlevel_compat.h
index be4d4d8..c8e7673 100644
--- a/include/fuse_lowlevel_compat.h
+++ b/include/fuse_lowlevel_compat.h
@@ -88,6 +88,16 @@ struct fuse_session *fuse_lowlevel_new_compat(const char *opts,
const struct fuse_lowlevel_ops *op,
size_t op_size, void *userdata);
+#endif /* __FreeBSD__ */
+
+struct fuse_chan_ops_compat24 {
+ int (*receive)(struct fuse_chan *ch, char *buf, size_t size);
+ int (*send)(struct fuse_chan *ch, const struct iovec iov[], size_t count);
+ void (*destroy)(struct fuse_chan *ch);
+};
+
+struct fuse_chan *fuse_chan_new_compat24(struct fuse_chan_ops_compat24 *op,
+ int fd, size_t bufsize, void *data);
+
int fuse_chan_receive(struct fuse_chan *ch, char *buf, size_t size);
-#endif /* __FreeBSD__ */