X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2Fguestfs.mli;h=629e443ea66016048e4764215cb5c01fc8296906;hb=7f818fa00c3d019146c7178f152408038d4a4d52;hp=2257fc0ce071feb953d18133e1d01e94a307387d;hpb=bb07a7f858da5d07c57360e62c0ddfd24ce6be45;p=libguestfs.git diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index 2257fc0..629e443 100644 --- a/ocaml/guestfs.mli +++ b/ocaml/guestfs.mli @@ -175,6 +175,12 @@ val is_busy : t -> bool val get_state : t -> int (** get the current state *) +val set_busy : t -> unit +(** set state to busy *) + +val set_ready : t -> unit +(** set state to ready *) + val mount : t -> string -> string -> unit (** mount a guest disk at a position in the filesystem *) @@ -376,3 +382,18 @@ val upload : t -> string -> string -> unit val download : t -> string -> string -> unit (** download a file to the local machine *) +val checksum : t -> string -> string -> string +(** compute MD5, SHAx or CRC checksum of file *) + +val tar_in : t -> string -> string -> unit +(** unpack tarfile to directory *) + +val tar_out : t -> string -> string -> unit +(** pack directory into tarfile *) + +val tgz_in : t -> string -> string -> unit +(** unpack compressed tarball to directory *) + +val tgz_out : t -> string -> string -> unit +(** pack directory into compressed tarball *) +