X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fwhentools.mli;h=773af1475967cbfa86e7058b81db1c2076978a7c;hb=dbac8da819e1afa3aa01c85686c8bdc5407fae11;hp=f2cefb6ec540934c7932f7e68c5300cd457af023;hpb=f3db678247d4ccc04c6ca1655e2eeec17e1bc169;p=whenjobs.git diff --git a/lib/whentools.mli b/lib/whentools.mli index f2cefb6..773af14 100644 --- a/lib/whentools.mli +++ b/lib/whentools.mli @@ -34,7 +34,13 @@ val set_variable_string : string -> string -> unit val set_variable_float : string -> float -> unit (** Set variable (just a wrapper around {!Whenfile.set_variable}). *) +type preinfo = Whenexpr.preinfo + +val max : int -> preinfo -> bool +val one : unit -> preinfo -> bool +(** Pre functions to limit number of jobs running. *) + type result = Whenexpr.result val mailto : ?only_on_failure:bool -> ?from:string -> string -> result -> unit -(** Cleanup function to send mail. *) +(** Post function to send mail. *)