aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2003-10-22 11:11:57 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2003-10-22 11:11:57 +0000
commitf08ace0740cf373330148b2ec1fb699996852230 (patch)
tree2a9fad15d77c2ef71af55efc68f5da02fe75fc3a /include/fuse.h
parent0e5350899c9b16ed867d12856665f008357dea79 (diff)
downloadlibfuse-f08ace0740cf373330148b2ec1fb699996852230.tar.gz
fix
Diffstat (limited to 'include/fuse.h')
-rw-r--r--include/fuse.h10
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: