- 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 unowned string[]? argv)
Call this function before using any other Libvirt GLib functions in your
applications.
- public bool init_check (ref unowned 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.