diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-18 16:29:00 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-18 16:32:20 +0100 |
commit | 42a8baf3c9abc6f742671f37e9e24b607e5f9857 (patch) | |
tree | a1c0267ae4a57ccb2e52c22bf1ee223aef3b7b59 /src/guestfs.h | |
parent | 8e54ab289550a35747530e5b723fd35a22aa689a (diff) | |
download | libguestfs-42a8baf3c9abc6f742671f37e9e24b607e5f9857.tar.gz libguestfs-42a8baf3c9abc6f742671f37e9e24b607e5f9857.tar.xz libguestfs-42a8baf3c9abc6f742671f37e9e24b607e5f9857.zip |
Split out send and reply operations into separate callbacks.
Diffstat (limited to 'src/guestfs.h')
-rw-r--r-- | src/guestfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guestfs.h b/src/guestfs.h index bce035f1..39b2687d 100644 --- a/src/guestfs.h +++ b/src/guestfs.h @@ -74,6 +74,8 @@ extern char *guestfs_safe_strdup (guestfs_h *g, const char *str); extern void *guestfs_safe_memdup (guestfs_h *g, void *ptr, size_t size); extern int guestfs__send (guestfs_h *g, int proc_nr, xdrproc_t xdrp, char *args); +extern int guestfs__switch_to_sending (guestfs_h *g); +extern int guestfs__switch_to_receiving (guestfs_h *g); /* Main loop. */ #define GUESTFS_HANDLE_READABLE 0x1 |