aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2005-08-03 09:11:06 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2005-08-03 09:11:06 +0000
commitf6e0ec6e2df64ce90e3a52a3e636f3ffb5c38927 (patch)
treed1187895079752b51f2bbdba465bd1aac5e65a09 /include
parent6c0209a8c78c82800a43c29a5dcccf872bfa613e (diff)
fix
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h6
-rw-r--r--include/fuse_lowlevel.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/fuse.h b/include/fuse.h
index db9a417..ade49f5 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -58,7 +58,7 @@ struct fuse;
* @return 1 if buffer is full, zero otherwise
*/
typedef int (*fuse_fill_dir_t) (void *buf, const char *name,
- const struct stat *stat, off_t off);
+ const struct stat *stbuf, off_t off);
/* Used by deprecated getdir() method */
typedef struct fuse_dirhandle *fuse_dirh_t;
@@ -148,7 +148,7 @@ struct fuse_operations {
* with the given flags. In fact it cannot correctly do that
* since it doesn't have a way to determine if the file was just
* created (and hence the permission need not be checked).
- *
+ *
* If permission needs to be checked, implement the access()
* method, and do the check there.
*
@@ -313,7 +313,7 @@ struct fuse_operations {
/**
* Check file access permissions
- *
+ *
* Need not be implemented. Will only be called for the access()
* system call, and for the open() system call, unless a new file
* is created (file didn't exist and O_CREAT was given). If the
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index 16257a9..8b18959 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -115,7 +115,7 @@ struct fuse_ll_operations {
size_t size);
void (*listxattr)(fuse_req_t req, fuse_ino_t ino, size_t size);
void (*removexattr)(fuse_req_t req, fuse_ino_t ino, const char *name);
- void (*getlk) (fuse_req_t req, fuse_ino_t ino,
+ void (*getlk) (fuse_req_t req, fuse_ino_t ino,
const struct fuse_lock_param *lk);
void (*setlk) (fuse_req_t req, fuse_ino_t ino, int sleep,
const struct fuse_lock_param *lk);
@@ -149,7 +149,7 @@ int fuse_reply_write(fuse_req_t req, size_t count);
int fuse_reply_buf(fuse_req_t req, const char *buf, size_t size);
/* statfs */
-int fuse_reply_statfs(fuse_req_t req, const struct statfs *statfs);
+int fuse_reply_statfs(fuse_req_t req, const struct statfs *stbuf);
/* getxattr, listxattr */
int fuse_reply_xattr(fuse_req_t req, size_t count);
@@ -163,7 +163,7 @@ int fuse_reply_getlk(fuse_req_t req, const struct fuse_lock_param *lk);
size_t fuse_dirent_size(size_t namelen);
/* add a directory entry to the buffer */
-char *fuse_add_dirent(char *buf, const char *name, const struct stat *stat,
+char *fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf,
off_t off);
/* ------------------------------------------ */