Support for writing output in CSV format.
[virt-df.git] / virt-df / virt_df.mli
index f35e0db..2815d9b 100644 (file)
@@ -37,8 +37,14 @@ val inodes : bool ref                        (** Display inodes. *)
 val human : bool ref                   (** Display human-readable. *)
 val all : bool ref                     (** Show all or just active domains. *)
 val test_files : string list ref       (** In test mode (-t) list of files. *)
+val csv_mode : bool ref                        (** CSV mode. *)
 (** State of command line arguments. *)
 
+val csv_write : (out_channel -> string list -> unit) option ref
+(** If virt_df_csv.ml is compiled in then this hook is overridden with
+    a function to write a single line to a CSV file.
+*)
+
 (**
    {2 Domain/device model}