X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=inline;f=slave.mli;h=5eaa9c93929aeb246eaf62936b7be39180de1def;hb=298cc147ee0015df2128f9efe0402004e9820b9c;hp=57ce332b825963df4352312f3cdea73cdf717e47;hpb=4fa4ca7430421c477e7f813819a8a70279de0a65;p=guestfs-browser.git diff --git a/slave.mli b/slave.mli index 57ce332..5eaa9c9 100644 --- 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