X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2Fmqint.mli;h=e969e5c663cf6ad053733a3cf8feaa03a9a40f25;hb=ba824e867afc3eaf081ed1a1d6526d421242a6a0;hp=60f00f50c3da307f028ad0826d8f7eaa5147668d;hpb=0b2c5757a7d7d87adc0144f790ca5294f9433175;p=helm.git diff --git a/helm/ocaml/mathql_interpreter/mqint.mli b/helm/ocaml/mathql_interpreter/mqint.mli index 60f00f50c..e969e5c66 100644 --- a/helm/ocaml/mathql_interpreter/mqint.mli +++ b/helm/ocaml/mathql_interpreter/mqint.mli @@ -23,23 +23,14 @@ * http://cs.unibo.it/helm/. *) -(* - * interfaccia dell'interprete MathQL - *) +val init : string -> unit (* open database *) -open MathQL;; +val execute : MathQL.query -> MathQL.result (* execute query *) -(* - * inizializzazione del database - *) -val init: unit -> unit +val close : unit -> unit (* close database *) -(* - * esecuzione di query - *) -val execute: mquery -> mqresult;; +val check : unit -> Postgres.connection (* check connection *) -(* - * chiusura del database - *) -val close: unit -> unit +val set_stat : bool -> unit (* set stat emission *) + +val get_stat : unit -> bool (* check stat emission *)