guestfs browser 'reboot'
[guestfs-browser.git] / utils.mli
index 1959ef6..6479fea 100644 (file)
--- a/utils.mli
+++ b/utils.mli
@@ -35,11 +35,6 @@ val set_verbose_flag : unit -> unit
 
       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. *)
 
@@ -55,3 +50,16 @@ 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. *)