git.annexia.org
/
ocaml-libvirt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add binding for virConnectSetKeepAlive
[ocaml-libvirt.git]
/
libvirt
/
libvirt.ml
diff --git
a/libvirt/libvirt.ml
b/libvirt/libvirt.ml
index
1fbb8ca
..
784a2b5
100644
(file)
--- a/
libvirt/libvirt.ml
+++ b/
libvirt/libvirt.ml
@@
-100,6
+100,8
@@
struct
let cpu_usable cpumaps maplen vcpu cpu =
Char.code cpumaps.[vcpu*maplen + cpu/8] land (1 lsl (cpu mod 8)) <> 0
let cpu_usable cpumaps maplen vcpu cpu =
Char.code cpumaps.[vcpu*maplen + cpu/8] land (1 lsl (cpu mod 8)) <> 0
+ external set_keep_alive : [>`R] t -> int -> int -> unit = "ocaml_libvirt_connect_set_keep_alive"
+
external const : [>`R] t -> ro t = "%identity"
end
external const : [>`R] t -> ro t = "%identity"
end