perl: Add binding for guestfs_user_cancel.

This commit is contained in:
Richard W.M. Jones
2011-07-15 14:47:09 +01:00
parent 60dd9494f0
commit f4dadd0fcf

View File

@@ -277,6 +277,12 @@ PREINIT:
OUTPUT:
RETVAL
void
user_cancel (g)
guestfs_h *g;
PPCODE:
guestfs_user_cancel (g);
";
List.iter (
@@ -776,6 +782,11 @@ errnos:
# mkdir failed because the directory exists already.
}
=item $h->user_cancel ();
Cancel current transfer. This is safe to call from Perl signal
handlers and threads.
=cut
";