summaryrefslogtreecommitdiffstats
path: root/src/guestfs.pod
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-09-01 13:19:05 +0100
committerRichard Jones <rjones@redhat.com>2010-09-01 14:20:22 +0100
commit867319ec5f9030d3c14c32e3302606f2bf11ac27 (patch)
treee865b119d6fb453a61b913941368b1405b6b1f2a /src/guestfs.pod
parentc9bc865a7acf372a66f7c9a3f34440deb32f1ea9 (diff)
downloadlibguestfs-867319ec5f9030d3c14c32e3302606f2bf11ac27.tar.gz
libguestfs-867319ec5f9030d3c14c32e3302606f2bf11ac27.tar.xz
libguestfs-867319ec5f9030d3c14c32e3302606f2bf11ac27.zip
Consistent use of 'void *opaque' to refer to opaque pointer in C API.
We inconsistently used 'void *data' or 'void *opaque' all over to refer to the same thing. Use 'void *opaque' in all places in the published API and documentation.
Diffstat (limited to 'src/guestfs.pod')
-rw-r--r--src/guestfs.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod
index 455cd899..ccc719d7 100644
--- a/src/guestfs.pod
+++ b/src/guestfs.pod
@@ -844,11 +844,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<cb> will be called if there is an error. The
parameters passed to the callback are an opaque data pointer and the
@@ -865,7 +865,7 @@ If you set C<cb> to C<NULL> then I<no> 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.