From b0c52c59f710b4619949adfc359dabfca005fe0d Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 23 Aug 2005 15:39:43 +0000 Subject: fix --- include/fuse_lowlevel.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/fuse_lowlevel.h') diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index ffeb6f9..a8e3e3e 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -95,6 +95,8 @@ struct fuse_lowlevel_ops { fuse_ino_t newparent, const char *newname); void (*link) (fuse_req_t req, fuse_ino_t ino, fuse_ino_t newparent, const char *newname); + void (*create) (fuse_req_t req, fuse_ino_t parent, const char *name, + mode_t mode, struct fuse_file_info *fi); void (*open) (fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi); void (*read) (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi); @@ -132,9 +134,13 @@ int fuse_reply_err(fuse_req_t req, int err); /* forget */ int fuse_reply_none(fuse_req_t req); -/* lookup, mknod, mkdir, symlink, link */ +/* lookup, create, mknod, mkdir, symlink, link */ int fuse_reply_entry(fuse_req_t req, const struct fuse_entry_param *e); +/* create */ +int fuse_reply_create(fuse_req_t req, const struct fuse_entry_param *e, + const struct fuse_file_info *fi); + /* getattr, setattr */ int fuse_reply_attr(fuse_req_t req, const struct stat *attr, double attr_timeout); -- cgit v1.2.3