summaryrefslogtreecommitdiffstats
path: root/guestfs.pod
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-08 13:46:05 +0100
committerRichard Jones <rjones@redhat.com>2009-04-08 13:46:05 +0100
commit562efcba335bc726954ed2ebcd75ece9c3aba41f (patch)
treeb1b2f65e74e66e9d2fe9d4bab490acbb783b8666 /guestfs.pod
parent622bc0af28dab528b04b50c74d34813dd2428bd1 (diff)
downloadlibguestfs-562efcba335bc726954ed2ebcd75ece9c3aba41f.tar.gz
libguestfs-562efcba335bc726954ed2ebcd75ece9c3aba41f.tar.xz
libguestfs-562efcba335bc726954ed2ebcd75ece9c3aba41f.zip
Mention OCaml & Perl bindings in introduction. Error handlers must copy 'msg' if they want to stash it.
Diffstat (limited to 'guestfs.pod')
-rw-r--r--guestfs.pod9
1 files changed, 6 insertions, 3 deletions
diff --git a/guestfs.pod b/guestfs.pod
index 7396644d..07dfde55 100644
--- a/guestfs.pod
+++ b/guestfs.pod
@@ -37,9 +37,8 @@ LVs, what filesystem is in each LV, etc.). It can also run commands
in the context of the guest. Also you can access filesystems over FTP.
Libguestfs is a library that can be linked with C and C++ management
-programs (or management programs written in other languages, if people
-contribute the language bindings). You can also use it from shell
-scripts or the command line.
+programs (or management programs written in OCaml or Perl).
+You can also use it from shell scripts or the command line.
You don't need to be root to use libguestfs, although obviously you do
need enough permissions to access the disk images.
@@ -205,6 +204,10 @@ The callback C<cb> will be called if there is an error. The
parameters passed to the callback are an opaque data pointer and the
error message string.
+Note that the message string C<msg> is freed as soon as the callback
+function returns, so if you want to stash it somewhere you must make
+your own copy.
+
The default handler prints messages on C<stderr>.
If you set C<cb> to C<NULL> then I<no> handler is called and the error