From: Miklos Szeredi Date: Tue, 10 Oct 2006 18:53:38 +0000 (+0000) Subject: doc fixes X-Git-Tag: fuse_2_6_0_rc3~5 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=53eec2a0d51ac5b126777fc61fa12bbc35a1a441;p=qemu-gpiodev%2Flibfuse.git doc fixes --- diff --git a/.cvsignore b/.cvsignore index 8c9db8e..88cec53 100644 --- a/.cvsignore +++ b/.cvsignore @@ -9,6 +9,7 @@ missing *.cache config.* depcomp +compile libtool INSTALL fuse.pc diff --git a/ChangeLog b/ChangeLog index bdd4c5f..053fd0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,7 +8,7 @@ * ulockmgr: handle the case, when a locking operation fails because no more file desctriptors are available in ulockmgr_server. Also work around a Linux kernel bug (known to - exist for all Linux kernel versions <= 2.6.19) which may cause + exist for all Linux kernel versions <= 2.6.18) which may cause sent file descriptors to be lost in the above case * ulockmgr: optimize file descriptor use diff --git a/include/fuse.h b/include/fuse.h index 37aec28..6af2c4f 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -300,6 +300,7 @@ struct fuse_operations { * destroy() method. * * Introduced in version 2.3 + * Changed in version 2.6 */ void *(*init) (struct fuse_conn_info *conn); 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]; };