]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/mathql_interpreter/mqint.mli
mqint updated
[helm.git] / helm / ocaml / mathql_interpreter / mqint.mli
index 60f00f50c3da307f028ad0826d8f7eaa5147668d..d86772622fad718ca2e0f247c0274d47b0e0f88a 100644 (file)
  * http://cs.unibo.it/helm/.
  *)
 
-(*
- * interfaccia dell'interprete MathQL
- *)
+val init    : unit -> 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;;
-
-(*
- * chiusura del database
- *)
-val close: unit -> unit
+val check   : unit -> Postgres.connection   (* controllo connessione *)