module Libvirt:OCaml bindings for libvirt. (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc. http://libvirt.org/ $Id: libvirt.mli,v 1.3 2007/08/22 10:04:07 rjones Exp $sig
..end
typeuuid =
string
typexml =
string
val get_version : ?driver:string -> unit -> int * int
get_version ()
returns the library version in the first part
of the tuple, and 0
in the second part.
get_version ~driver ()
returns the library version in the first
part of the tuple, and the version of the driver called driver
in the second part.
The version numbers are encoded as
1,000,000 * major + 1,000 * minor + release.
val uuid_length : int
val uuid_string_length : int
typerw =
[ `R | `W ]
typero =
[ `R ]
module Connect:sig
..end
module Domain:sig
..end
module Network:sig
..end
module Virterror:sig
..end
exception Virterror of Virterror.t
Libvirt.Virterror.to_string
on the content of this exception.
Note that functions may also raise
Invalid_argument "virFoo not supported"
(where virFoo is the libvirt function name) if a function is
not supported at either compile or runtime. This applies to
any libvirt function added after version 0.2.1.
See also http://libvirt.org/hvsupport.html