X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ocaml%2Fguestfs.mli;h=870ffb69441165e0da0526a841195fcccabb3812;hp=5baf9955a0f79d25db7f48948ea973809aa30475;hb=e8ecc08f663b44f3d79517affe52f137858dfe00;hpb=9222136ac9b2e404dba128b1ac74dacaa8bf1038 diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index 5baf995..870ffb6 100644 --- a/ocaml/guestfs.mli +++ b/ocaml/guestfs.mli @@ -154,6 +154,12 @@ val set_path : t -> string -> unit val get_path : t -> string (** get the search path *) +val set_append : t -> string -> unit +(** add options to kernel command line *) + +val get_append : t -> string +(** get the additional kernel options *) + val set_autosync : t -> bool -> unit (** set autosync mode *) @@ -187,6 +193,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 *) @@ -457,3 +466,21 @@ val mv : t -> string -> string -> unit 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 *) +