mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
perl: Add binding for guestfs_user_cancel.
This commit is contained in:
@@ -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
|
||||
|
||||
";
|
||||
|
||||
Reference in New Issue
Block a user