X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2Fmqint.mli;h=4145153088bd8a059b1f96ff30f861486e1dbd5b;hb=b1fb6b8e1767d775bc452303629e95941d142bea;hp=e969e5c663cf6ad053733a3cf8feaa03a9a40f25;hpb=ba824e867afc3eaf081ed1a1d6526d421242a6a0;p=helm.git diff --git a/helm/ocaml/mathql_interpreter/mqint.mli b/helm/ocaml/mathql_interpreter/mqint.mli index e969e5c66..414515308 100644 --- a/helm/ocaml/mathql_interpreter/mqint.mli +++ b/helm/ocaml/mathql_interpreter/mqint.mli @@ -23,14 +23,24 @@ * http://cs.unibo.it/helm/. *) -val init : string -> unit (* open database *) +val init : string -> unit (* open database *) -val execute : MathQL.query -> MathQL.result (* execute query *) +val execute : MathQL.query -> MathQL.result (* execute query *) -val close : unit -> unit (* close database *) +val close : unit -> unit (* close database *) -val check : unit -> Postgres.connection (* check connection *) +val check : unit -> unit (* check connection *) + +val set_stat : bool -> unit (* set stat emission *) + +val get_stat : unit -> bool (* check stat emission *) + +val postgres_db : string (* postgres *) + +val galax_db : string (* galax *) + +val set_database : string -> unit (* switch postgres/galax *) + +val get_database : unit -> string (* check db used *) -val set_stat : bool -> unit (* set stat emission *) -val get_stat : unit -> bool (* check stat emission *)