X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2Fguestfs.mli;h=21e6eeb52abe71829f79d94d1d6f5a0779090221;hb=d5709ba3fd9b666012926e0a2a7e36107433eb98;hp=c8b67958b7e184e6c72c293f40de258bbb92f8b7;hpb=e118c14b9552de311cbc1734e03a3226b484c1e8;p=libguestfs.git diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index c8b6795..21e6eeb 100644 --- a/ocaml/guestfs.mli +++ b/ocaml/guestfs.mli @@ -187,6 +187,9 @@ val set_busy : t -> unit val set_ready : t -> unit (** set state to ready *) +val end_busy : t -> unit +(** leave the busy state *) + val mount : t -> string -> string -> unit (** mount a guest disk at a position in the filesystem *) @@ -445,3 +448,33 @@ val zero : t -> string -> unit val grub_install : t -> string -> string -> unit (** install GRUB *) +val cp : t -> string -> string -> unit +(** copy a file *) + +val cp_a : t -> string -> string -> unit +(** copy a file or directory recursively *) + +val mv : t -> string -> string -> unit +(** move a file *) + +val drop_caches : t -> int -> unit +(** drop kernel page cache, dentries and inodes *) + +val dmesg : t -> string +(** return kernel messages *) + +val ping_daemon : t -> unit +(** ping the guest daemon *) + +val equal : t -> string -> string -> bool +(** test if two files have equal contents *) + +val strings : t -> string -> string array +(** print the printable strings in a file *) + +val strings_e : t -> string -> string -> string array +(** print the printable strings in a file *) + +val hexdump : t -> string -> string +(** dump a file in hexadecimal *) +