summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-10-03 08:44:53 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-10-03 08:44:53 +0000
commit807d8efd4ab406f3755428531d76ad235cc63957 (patch)
tree851bae8dae88cf23b3f1b65518068c9147db45ee
parent79cc92df6a5b5a4caa01945e027e14a2d250c354 (diff)
downloadfuse-807d8efd4ab406f3755428531d76ad235cc63957.tar.gz
more documentation
-rw-r--r--include/fuse_lowlevel.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index 322f371..3b801ed 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -28,20 +28,47 @@ extern "C" {
/** The node ID of the root inode */
#define FUSE_ROOT_ID 1
+/** Inode number type */
typedef unsigned long fuse_ino_t;
+
+/** Request pointer type */
typedef struct fuse_req *fuse_req_t;
+/**
+ * Session
+ *
+ * This provides hooks for processing requests, and exiting
+ */
struct fuse_session;
+
+/**
+ * Channel
+ *
+ * A communication channel, providing hooks for sending and receiving
+ * messages
+ */
struct fuse_chan;
+/** Directory entry parameters supplied to fuse_reply_entry() */
struct fuse_entry_param {
+ /** Unique inode number */
fuse_ino_t ino;
+
+ /** The ino/generation pair should be unique for the filesystem's
+ lifetime */
unsigned long generation;
+
+ /** Inode attributes */
struct stat attr;
+
+ /** Validity timeout (in seconds) for the attributes */
double attr_timeout;
+
+ /** Validity timeout (in seconds) for the name */
double entry_timeout;
};
+/** Additional context associated with requests */
struct fuse_ctx {
/** User ID of the calling process */
uid_t uid;