X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ocaml%2Fguestfs.ml;h=09b12b1c7892010f78cec976b2d2b917129b2f02;hp=6477e95b7411d0b0614c56f83ace9d1e8339f8f6;hb=170f262f0413de843af62b968f6d12c1c476ae7f;hpb=b348eacbc4d84337856cf7cca518d61c63e92631 diff --git a/ocaml/guestfs.ml b/ocaml/guestfs.ml index 6477e95..09b12b1 100644 --- a/ocaml/guestfs.ml +++ b/ocaml/guestfs.ml @@ -127,6 +127,13 @@ external set_autosync : t -> bool -> unit = "ocaml_guestfs_set_autosync" external get_autosync : t -> bool = "ocaml_guestfs_get_autosync" external set_verbose : t -> bool -> unit = "ocaml_guestfs_set_verbose" external get_verbose : t -> bool = "ocaml_guestfs_get_verbose" +external is_ready : t -> bool = "ocaml_guestfs_is_ready" +external is_config : t -> bool = "ocaml_guestfs_is_config" +external is_launching : t -> bool = "ocaml_guestfs_is_launching" +external is_busy : t -> bool = "ocaml_guestfs_is_busy" +external get_state : t -> int = "ocaml_guestfs_get_state" +external set_busy : t -> unit = "ocaml_guestfs_set_busy" +external set_ready : t -> unit = "ocaml_guestfs_set_ready" external mount : t -> string -> string -> unit = "ocaml_guestfs_mount" external sync : t -> unit = "ocaml_guestfs_sync" external touch : t -> string -> unit = "ocaml_guestfs_touch" @@ -192,3 +199,5 @@ external blockdev_getsz : t -> string -> int64 = "ocaml_guestfs_blockdev_getsz" external blockdev_getsize64 : t -> string -> int64 = "ocaml_guestfs_blockdev_getsize64" external blockdev_flushbufs : t -> string -> unit = "ocaml_guestfs_blockdev_flushbufs" external blockdev_rereadpt : t -> string -> unit = "ocaml_guestfs_blockdev_rereadpt" +external upload : t -> string -> string -> unit = "ocaml_guestfs_upload" +external download : t -> string -> string -> unit = "ocaml_guestfs_download"