X-Git-Url: http://git.annexia.org/?p=virt-mem.git;a=blobdiff_plain;f=lib%2Fvirt_mem.mli;h=1dc1c23cf0855c8ee4140d978fb42fe72d3d837b;hp=a0f196367a539bf3349fac7a3b9d0caa3b557d60;hb=b70c967911e197b74d6d7ad98e3df9240d82572f;hpb=6a4bf18801508eb18520b7b1ec13325fd4101764 diff --git a/lib/virt_mem.mli b/lib/virt_mem.mli index a0f1963..1dc1c23 100644 --- a/lib/virt_mem.mli +++ b/lib/virt_mem.mli @@ -37,11 +37,16 @@ type image = table could not be found at all. *) -val start : Arg.usage_msg -> bool * image list - (** Programs call this to parse the standard command-line arguments - and do all the standard processing of domains into images. - - The returned tuple is: - - verbose mode - - list of images +val register : string -> string -> Arg.usage_msg -> bool -> (bool -> image list -> unit) -> unit + (** Tools register themselves with this call. + + The parameters are: + - tool name (eg. "uname") + - short summary + - full usage message + - is it a virt-cmd? + - run function (invoked as [run verbose images]) *) + +val main : unit -> unit + (** Entry point for the combined virt-mem executable. *)