summaryrefslogtreecommitdiffstats
path: root/libvirt/libvirt.mli
diff options
context:
space:
mode:
Diffstat (limited to 'libvirt/libvirt.mli')
-rw-r--r--libvirt/libvirt.mli8
1 files changed, 8 insertions, 0 deletions
diff --git a/libvirt/libvirt.mli b/libvirt/libvirt.mli
index 642b845..e80cf91 100644
--- a/libvirt/libvirt.mli
+++ b/libvirt/libvirt.mli
@@ -801,6 +801,14 @@ v}
val cancel : ('a,'b) t -> unit
(** Cancel a job. *)
+ val free : ('a, [>`R]) t -> unit
+ (** Free a job object in memory.
+
+ The job object is automatically freed if it is garbage
+ collected. This function just forces it to be freed right
+ away.
+ *)
+
external const : ('a, [>`R]) t -> ('a, ro) t = "%identity"
(** [const conn] turns a read/write job into a read-only
job. Note that the opposite operation is impossible.