summaryrefslogtreecommitdiffstats
path: root/guestfs.pod
diff options
context:
space:
mode:
Diffstat (limited to 'guestfs.pod')
-rw-r--r--guestfs.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/guestfs.pod b/guestfs.pod
index 829e6e55..bf75e423 100644
--- a/guestfs.pod
+++ b/guestfs.pod
@@ -405,6 +405,10 @@ The callback function C<cb> will be called whenever a reply is
received from the child process. (This corresponds to a transition
from the BUSY state to the READY state).
+Note that the C<xdr> that you get in the callback is in C<XDR_DECODE>
+mode, and you need to consume it before you return from the callback
+function (since it gets destroyed after).
+
=head2 guestfs_set_log_message_callback
typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,