diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-10 18:25:07 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-11 17:04:35 +0100 |
commit | b4d2a01828e5de85e5eee3631f7fe3925a0312ca (patch) | |
tree | 6f77ecceccd53a84afce4cecf0fe199ba7707752 /ocaml/guestfs.ml | |
parent | 99f68f259f92eee884c6c7396f61b9c16e2bf354 (diff) | |
download | libguestfs-b4d2a01828e5de85e5eee3631f7fe3925a0312ca.tar.gz libguestfs-b4d2a01828e5de85e5eee3631f7fe3925a0312ca.tar.xz libguestfs-b4d2a01828e5de85e5eee3631f7fe3925a0312ca.zip |
Added test suite.
Diffstat (limited to 'ocaml/guestfs.ml')
-rw-r--r-- | ocaml/guestfs.ml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ocaml/guestfs.ml b/ocaml/guestfs.ml index 32a6b82a..58f99dc2 100644 --- a/ocaml/guestfs.ml +++ b/ocaml/guestfs.ml @@ -132,3 +132,16 @@ external mkdir : t -> string -> unit = "ocaml_guestfs_mkdir" external mkdir_p : t -> string -> unit = "ocaml_guestfs_mkdir_p" external chmod : t -> int -> string -> unit = "ocaml_guestfs_chmod" external chown : t -> int -> int -> string -> unit = "ocaml_guestfs_chown" +external exists : t -> string -> bool = "ocaml_guestfs_exists" +external is_file : t -> string -> bool = "ocaml_guestfs_is_file" +external is_dir : t -> string -> bool = "ocaml_guestfs_is_dir" +external pvcreate : t -> string -> unit = "ocaml_guestfs_pvcreate" +external vgcreate : t -> string -> string array -> unit = "ocaml_guestfs_vgcreate" +external lvcreate : t -> string -> string -> int -> unit = "ocaml_guestfs_lvcreate" +external mkfs : t -> string -> string -> unit = "ocaml_guestfs_mkfs" +external sfdisk : t -> string -> int -> int -> int -> string array -> unit = "ocaml_guestfs_sfdisk_byte" "ocaml_guestfs_sfdisk" +external write_file : t -> string -> string -> int -> unit = "ocaml_guestfs_write_file" +external umount : t -> string -> unit = "ocaml_guestfs_umount" +external mounts : t -> string array = "ocaml_guestfs_mounts" +external umount_all : t -> unit = "ocaml_guestfs_umount_all" +external lvm_remove_all : t -> unit = "ocaml_guestfs_lvm_remove_all" |