diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2003-10-22 11:11:57 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2003-10-22 11:11:57 +0000 |
commit | f08ace0740cf373330148b2ec1fb699996852230 (patch) | |
tree | 2a9fad15d77c2ef71af55efc68f5da02fe75fc3a /include | |
parent | 0e5350899c9b16ed867d12856665f008357dea79 (diff) | |
download | libfuse-f08ace0740cf373330148b2ec1fb699996852230.tar.gz |
fix
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/fuse.h b/include/fuse.h index b54cb47..719564e 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -38,8 +38,14 @@ struct fuse_statfs { /** Handle for a getdir() operation */ typedef struct fuse_dirhandle *fuse_dirh_t; -/** Function to add an entry in a getdir() operation */ -typedef int (*fuse_dirfil_t) (fuse_dirh_t, const char *, int type); +/** Function to add an entry in a getdir() operation + * + * @param h the handle passed to the getdir() operation + * @param name the file name of the directory entry + * @param type the file type (0 if unknown) see <dirent.h> + * @return 0 on success, -errno on error + */ +typedef int (*fuse_dirfil_t) (fuse_dirh_t h, const char *name, int type); /** * The file system operations: |