X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2Fguestfs.mli;h=d44fb0603f71143a9af8df7805566724df8084d0;hb=77c3f9d0ed25218fc3f24cee083a2083157d8e0a;hp=259c8f3453804eabaf423c35df3a8d008e684e24;hpb=62df226f26bd6ac3c481a7790eb89d760d2f0386;p=libguestfs.git diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index 259c8f3..d44fb06 100644 --- a/ocaml/guestfs.mli +++ b/ocaml/guestfs.mli @@ -442,3 +442,36 @@ val fsck : t -> string -> string -> int val zero : t -> string -> unit (** write zeroes to the device *) +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 *) +