This is set through the --verbose command line option. *)
-val write_flag : unit -> bool
-val set_write_flag : unit -> unit
- (** Writes are prevented unless the user sets this to [true]
- through the command line option --write. *)
-
val debug : ('a, unit, string, unit) format4 -> 'a
(** A printf-like function for writing debugging messages. *)
take a printf-like argument list, and also logs errors on stderr
when verbose is enabled. *)
+val trace : unit -> bool
+val set_trace_flag : unit -> unit
+ (** If this contains [true] then calls to libguestfs are traced.
+
+ This is set through the [-x] command line option. *)
+
+val connect_uri : unit -> string option
+val set_connect_uri : string option -> unit
+ (** The libvirt connection URI.
+
+ This is set through the [--connect] command line option. *)
+
val utf8_rarrow : string (** UTF-8 RIGHTWARDS ARROW *)
val human_size_1k : int64 -> string
val unique : unit -> int
(** Return a new integer each time called. *)
+
+val mklabel : string -> GObj.widget
+ (** Convenience function to make a label containing some text. It is
+ returned as a generic widget. *)
+
+val libguestfs_version_string : unit -> string
+ (** Return the version of libguestfs as a string. *)
+
+val libvirt_version_string : unit -> string
+ (** Return the version of libvirt as a string. *)
+
+val (//) : string -> string -> string
+ (** Concatenate two paths. *)