Daily check-in.
[guestfs-browser.git] / utils.mli
index 6479fea..3e93755 100644 (file)
--- a/utils.mli
+++ b/utils.mli
@@ -43,6 +43,18 @@ val failwith : ('a, unit, string, 'b) format4 -> 'a
       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