diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-08-23 15:39:43 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-08-23 15:39:43 +0000 |
commit | b0c52c59f710b4619949adfc359dabfca005fe0d (patch) | |
tree | ded91b7758b4c99506cdaa112446df40c8bab514 /include/fuse_lowlevel.h | |
parent | 9724d546a61d031eb0fa2ae5f64e26b7f77c781b (diff) | |
download | libfuse-b0c52c59f710b4619949adfc359dabfca005fe0d.tar.gz |
fix
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r-- | include/fuse_lowlevel.h | 8 |
1 files changed, 7 insertions, 1 deletions
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); |