diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-20 00:22:02 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-20 00:22:02 +0100 |
commit | 170f262f0413de843af62b968f6d12c1c476ae7f (patch) | |
tree | b9be7ae0e59f784dfdd57ef063536218ee3f0c7d /perl/Guestfs.xs | |
parent | d5151686d82b66c50935010fd5458be0e4386bab (diff) | |
download | libguestfs-170f262f0413de843af62b968f6d12c1c476ae7f.tar.gz libguestfs-170f262f0413de843af62b968f6d12c1c476ae7f.tar.xz libguestfs-170f262f0413de843af62b968f6d12c1c476ae7f.zip |
Implement upload and download commands.
Diffstat (limited to 'perl/Guestfs.xs')
-rw-r--r-- | perl/Guestfs.xs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/perl/Guestfs.xs b/perl/Guestfs.xs index e498842d..235c3a76 100644 --- a/perl/Guestfs.xs +++ b/perl/Guestfs.xs @@ -305,6 +305,26 @@ PREINIT: 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; char *device; |