From 53eec2a0d51ac5b126777fc61fa12bbc35a1a441 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 10 Oct 2006 18:53:38 +0000 Subject: doc fixes --- include/fuse_common.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'include/fuse_common.h') diff --git a/include/fuse_common.h b/include/fuse_common.h index b687043..8dc7bc2 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -74,12 +74,42 @@ struct fuse_file_info { uint64_t lock_owner; }; +/** + * Connection information, passed to the ->init() method + * + * Some of the elements are read-write, these can be changed to + * indicate the value requested by the filesystem. The requested + * value must usually be smaller than the indicated value. + */ struct fuse_conn_info { + /** + * Major version of the protocol (read-only) + */ unsigned proto_major; + + /** + * Minor version of the protocol (read-only) + */ unsigned proto_minor; + + /** + * Is asynchronous read supported (read-write) + */ unsigned async_read; + + /** + * Maximum size of the write buffer + */ unsigned max_write; + + /** + * Maximum readahead + */ unsigned max_readahead; + + /** + * For future use. + */ unsigned reserved[27]; }; -- cgit v1.2.3