Implement open disk and connect to URI menu options.
[guestfs-browser.git] / slave.mli
index 57ce332..5eaa9c9 100644 (file)
--- a/slave.mli
+++ b/slave.mli
@@ -113,6 +113,10 @@ val file_information : ?fail:exn callback -> Slave_types.source -> string -> str
   (** [file_information src pathname cb] calculates the file
       information of the file [pathname]. *)
 
+val list_applications : ?fail:exn callback -> Slave_types.inspection_os -> Guestfs.application array callback -> unit
+  (** [list_applications os cb] lists the applications in the
+      guest using libguestfs inspection. *)
+
 val open_domain : ?fail:exn callback -> string -> Slave_types.inspection_data callback -> unit
   (** [open_domain name cb] retrieves the list of block devices for
       the libvirt domain [name], creates a libguestfs handle, adds
@@ -150,6 +154,10 @@ val read_directory : ?fail:exn callback -> Slave_types.source -> string -> Slave
       If [fail] is passed, then failures cause this callback to
       be called.  If not, the global failure hook is called. *)
 
+val reopen : ?fail:exn callback -> Slave_types.inspection_data callback -> unit
+  (** [reopen cb] reruns the last {!open_domain} or {!open_images}
+      command, if there was one. *)
+
 val run_command : ?fail:exn callback -> string -> unit callback -> unit
   (** [run_command cmd] runs an external command [cmd].  This is
       useful for possibly long-running commands as it keeps the