From: Miklos Szeredi Date: Mon, 3 Oct 2005 08:44:53 +0000 (+0000) Subject: more documentation X-Git-Tag: fuse_2_4_0~5 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=807d8efd4ab406f3755428531d76ad235cc63957;p=qemu-gpiodev%2Flibfuse.git more documentation --- 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;