From 170f262f0413de843af62b968f6d12c1c476ae7f Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 20 Apr 2009 00:22:02 +0100 Subject: Implement upload and download commands. --- perl/Guestfs.xs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'perl/Guestfs.xs') diff --git a/perl/Guestfs.xs b/perl/Guestfs.xs index e498842d..235c3a76 100644 --- a/perl/Guestfs.xs +++ b/perl/Guestfs.xs @@ -304,6 +304,26 @@ PREINIT: OUTPUT: RETVAL +void +set_busy (g) + guestfs_h *g; +PREINIT: + int r; + PPCODE: + r = guestfs_set_busy (g); + if (r == -1) + croak ("set_busy: %s", guestfs_last_error (g)); + +void +set_ready (g) + guestfs_h *g; +PREINIT: + int r; + PPCODE: + r = guestfs_set_ready (g); + if (r == -1) + croak ("set_ready: %s", guestfs_last_error (g)); + void mount (g, device, mountpoint) guestfs_h *g; -- cgit