diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-14 13:51:12 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-14 13:51:12 +0100 |
commit | 5365ebd501850ea10d9a5b28fc6480ea34dbe16d (patch) | |
tree | 3c3bedf7581ea8485db6f039f2633ee07361b031 /ocaml/guestfs.mli | |
parent | 161018ed1e90c796e6e099859979da02d5f3e410 (diff) | |
download | libguestfs-5365ebd501850ea10d9a5b28fc6480ea34dbe16d.tar.gz libguestfs-5365ebd501850ea10d9a5b28fc6480ea34dbe16d.tar.xz libguestfs-5365ebd501850ea10d9a5b28fc6480ea34dbe16d.zip |
Add 'command' and 'command-lines'. Fix args freeing in Perl bindings.
Diffstat (limited to 'ocaml/guestfs.mli')
-rw-r--r-- | ocaml/guestfs.mli | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index e3cee18f..279ed4d3 100644 --- a/ocaml/guestfs.mli +++ b/ocaml/guestfs.mli @@ -277,3 +277,9 @@ val lvm_remove_all : t -> unit 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 *) + |