X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fguestfs.pod;h=fe59cf002dac1eb2b376d888c60bae7442ace398;hb=3443bbd0d55cf83c1f89c7fd73965b89f9fb4d35;hp=e1fa4f5a81b802f6740de2b1bb516d9ede9aecdb;hpb=ec90843d3e0098919932d8f03d439d77cf5ae43e;p=libguestfs.git diff --git a/src/guestfs.pod b/src/guestfs.pod index e1fa4f5..fe59cf0 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -331,7 +331,7 @@ files. =head2 RUNNING COMMANDS -Although libguestfs is a primarily an API for manipulating files +Although libguestfs is primarily an API for manipulating files inside guest images, we also provide some limited facilities for running commands inside guests. @@ -716,11 +716,11 @@ largest number of results. =head2 guestfs_set_error_handler typedef void (*guestfs_error_handler_cb) (guestfs_h *g, - void *data, + void *opaque, const char *msg); void guestfs_set_error_handler (guestfs_h *g, guestfs_error_handler_cb cb, - void *data); + void *opaque); The callback C will be called if there is an error. The parameters passed to the callback are an opaque data pointer and the @@ -737,7 +737,7 @@ If you set C to C then I handler is called. =head2 guestfs_get_error_handler guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g, - void **data_rtn); + void **opaque_rtn); Returns the current error handler callback. @@ -1026,7 +1026,7 @@ any state to the CONFIG state). typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque); void guestfs_set_launch_done_callback (guestfs_h *g, - guestfs_ready_cb cb, + guestfs_launch_done_cb cb, void *opaque); The callback function C will be called when the child process