(* 'top'-like tool for libvirt domains.
- (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
+ (C) Copyright 2007-2009 Richard W.M. Jones, Red Hat Inc.
http://libvirt.org/
This program is free software; you can redistribute it and/or modify
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*)
-(* Hooks for virt_top_xml to override (if present). *)
+(* Hook for virt_top_xml to override (if present). *)
val parse_device_xml :
(int -> [ `R ] Libvirt.Domain.t -> string list * string list) ref
val csv_start : (string -> unit) ref
val csv_write : (string list -> unit) ref
+(* Hook for virt_top_calendar to override (if present). *)
+val parse_date_time : (string -> float) ref
+
type setup =
Libvirt.ro Libvirt.Connect.t (* connection *)
- * bool * bool * bool (* batch, script, csv modes *)
+ * bool * bool * bool * bool (* batch, script, csv, stream mode *)
* Libvirt.Connect.node_info (* node_info *)
* string (* hostname *)
* (int * int * int) (* libvirt version *)