Add 'command' and 'command-lines'. Fix args freeing in Perl bindings.
[libguestfs.git] / ocaml / guestfs.mli
index aaed946..279ed4d 100644 (file)
@@ -274,3 +274,12 @@ val umount_all : t -> unit
 val lvm_remove_all : t -> unit
 (** remove all LVM LVs, VGs and PVs *)
 
+val file : t -> string -> string
+(** determine file type *)
+
+val command : t -> string array -> string
+(** run a command from the guest filesystem *)
+
+val command_lines : t -> string array -> string array
+(** run a command, returning lines *)
+