Packages
libvirt-glib-1.0
GVir
Stays crunchy ...
... even in milk.
Valadoc
Vala
Tutorial
Vala Journal
API-References
Markup
About
libvirt-glib-1.0
Description:
Content:
Namespaces:
GVir
-
Methods:
public
Error
error_new_literal
(
Quark
domain,
int
code,
string
message)
Creates a new
Error
; unlike
gvir_error_new
,
message
is not a
printf
-style format string.
public
void
event_register
()
Registers a libvirt event loop implementation that is backed by the default
GMain
context.
public
void
init
(
ref
string
[]? argv)
Call this function before using any other Libvirt GLib functions in your applications.
public
bool
init_check
(
ref
string
[]? argv)
throws
Error
This function does the same work as
init
with only a single change: It does not terminate the program if the Libvirt GLib library can't be initialized.
public
void
set_error_literal
(
Error
error,
Quark
domain,
int
code,
string
message)
If
error
is NULL this does nothing.