From: Richard W.M. Jones Date: Fri, 13 Nov 2009 16:36:04 +0000 (+0000) Subject: Docs: Add documentation about other language bindings to API overview. X-Git-Tag: 1.0.79~14 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=5f9be62e68b120f51c948404e7f0cf3430962c68 Docs: Add documentation about other language bindings to API overview. --- diff --git a/guestfs.pod b/guestfs.pod index ec073ee..3aa806a 100644 --- a/guestfs.pod +++ b/guestfs.pod @@ -419,6 +419,60 @@ yourself, and then pass them to C functions. See also the programs L, L and L for more help on this issue. +=head2 USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES + +Although we don't want to discourage you from using the C API, we will +mention here that the same API is also available in other languages. + +The API is broadly identical in all supported languages. As an +example, in Python the handle itself is replaced by an object, but we +don't try to "object orientify" any other parts of the API. + +=over 4 + +=item B + +You can use the I header file from C++ programs. The C++ +API is identical to the C API. + +=item B + +This is the only language binding that is incomplete. Only calls +which return simple integers have been bound in Haskell, and we are +looking for help to complete this binding. + +=item B + +Full documentation is contained in the Javadoc which is distributed +with libguestfs. + +=item B + +For documentation see the file C. + +=item B + +For documentation see L. + +=item B + +For documentation do: + + $ python + >>> import guestfs + >>> help (guestfs) + +=item B + +Use the Guestfs module. There is no Ruby-specific documentation, but +you can find examples written in Ruby in the libguestfs source. + +=item B + +For documentation see L. + +=back + =head1 CONNECTION MANAGEMENT =head2 guestfs_h *