summaryrefslogtreecommitdiffstats
path: root/ocaml/guestfs.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml/guestfs.mli')
-rw-r--r--ocaml/guestfs.mli9
1 files changed, 9 insertions, 0 deletions
diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli
index 5cab5887..d15335e7 100644
--- a/ocaml/guestfs.mli
+++ b/ocaml/guestfs.mli
@@ -124,6 +124,12 @@ type statvfs = {
namemax : int64;
}
+type dirent = {
+ ino : int64;
+ ftyp : char;
+ name : string;
+}
+
val test0 : t -> string -> string option -> string array -> bool -> int -> string -> string -> unit
(** internal test function - do not use *)
@@ -697,3 +703,6 @@ val mknod_c : t -> int -> int -> int -> string -> unit
val umask : t -> int -> int
(** set file mode creation mask (umask) *)
+val readdir : t -> string -> dirent array
+(** read directories entries *)
+