X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fguestfs.pod;h=7cb05a6c3ac34467f8c7ffa62bc82d4820e9162c;hb=3451d73a693091ae1a33e7dbefbe56c1b93f426a;hp=a8e530f0a3fad4b41c4fe685ad100d357106d850;hpb=472722a72df89895bb11a1244eafa7915b1af116;p=libguestfs.git diff --git a/src/guestfs.pod b/src/guestfs.pod index a8e530f..7cb05a6 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -676,8 +676,7 @@ For documentation see L. =item B -Use the Guestfs module. There is no Ruby-specific documentation, but -you can find examples written in Ruby in the libguestfs source. +For documentation see L. =item B @@ -1856,6 +1855,14 @@ The header contains the procedure number (C) which is how the receiver knows what type of args structure to expect, or none at all. +For functions that take optional arguments, the optional arguments are +encoded in the C_args> structure in the same way as +ordinary arguments. A bitmask in the header indicates which optional +arguments are meaningful. The bitmask is also checked to see if it +contains bits set which the daemon does not know about (eg. if more +optional arguments were added in a later version of the library), and +this causes the call to be rejected. + The reply message for ordinary functions is: total length (header + ret, @@ -2085,6 +2092,7 @@ enough. L, L, L, +L, L, L, L,