diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-02 20:46:55 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-02 20:46:55 +0100 |
commit | 163e399a001a300a53a4c99887742608d23e09ad (patch) | |
tree | cad1aa7b6563f642edc0d46193867dde0975696e /guestfs.pod | |
parent | 88f69eb03160a62d38a361a5ad68c6ba1e767a20 (diff) | |
download | libguestfs-163e399a001a300a53a4c99887742608d23e09ad.tar.gz libguestfs-163e399a001a300a53a4c99887742608d23e09ad.tar.xz libguestfs-163e399a001a300a53a4c99887742608d23e09ad.zip |
Code to handle the daemon communications socket.
Diffstat (limited to 'guestfs.pod')
-rw-r--r-- | guestfs.pod | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/guestfs.pod b/guestfs.pod index 9202fb84..b0fa5f29 100644 --- a/guestfs.pod +++ b/guestfs.pod @@ -417,9 +417,9 @@ For example: /* returns immediately */ } - my_cb (guestfs_h *handle, void *data) + my_cb (guestfs_h *handle, void *data, XDR *xdr) { - retval = guestfs_nb_[action]_r (handle); + retval = guestfs_nb_[action]_r (handle, xdr); /* ... */ } @@ -429,6 +429,7 @@ high-level API. =head2 guestfs_set_reply_callback + typedef void (*guestfs_reply_cb) (guestfs_h *g, void *opaque, XDR *xdr); void guestfs_set_reply_callback (guestfs_h *handle, guestfs_reply_cb cb, void *opaque); @@ -439,6 +440,8 @@ from the BUSY state to the READY state). =head2 guestfs_set_log_message_callback + typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque, + char *buf, int len); void guestfs_set_log_message_callback (guestfs_h *handle, guestfs_log_message_cb cb, void *opaque); @@ -453,6 +456,7 @@ discarded. =head2 guestfs_set_subprocess_quit_callback + typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque); void guestfs_set_subprocess_quit_callback (guestfs_h *handle, guestfs_subprocess_quit_cb cb, void *opaque); @@ -464,6 +468,7 @@ any state to the CONFIG state). =head2 guestfs_set_launch_done_callback + typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque); void guestfs_set_launch_done_callback (guestfs_h *handle, guestfs_ready_cb cb, void *opaque); |