X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2Fmqint.mli;h=e969e5c663cf6ad053733a3cf8feaa03a9a40f25;hb=ba824e867afc3eaf081ed1a1d6526d421242a6a0;hp=964bacf988193e57c73e1a80ad955e18464f3caa;hpb=6a1d05b388683befc860b48b4f2bbaf42f58a112;p=helm.git diff --git a/helm/ocaml/mathql_interpreter/mqint.mli b/helm/ocaml/mathql_interpreter/mqint.mli index 964bacf98..e969e5c66 100644 --- a/helm/ocaml/mathql_interpreter/mqint.mli +++ b/helm/ocaml/mathql_interpreter/mqint.mli @@ -1,21 +1,36 @@ - -(* - * interfaccia dell'interprete MathQL +(* Copyright (C) 2000, HELM Team. + * + * This file is part of HELM, an Hypertextual, Electronic + * Library of Mathematics, developed at the Computer Science + * Department, University of Bologna, Italy. + * + * HELM is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * HELM is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with HELM; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. + * + * For details, see the HELM World-Wide-Web page, + * http://cs.unibo.it/helm/. *) -open Mathql;; +val init : string -> unit (* open database *) -(* - * inizializzazione del database - *) -val init: unit -> unit +val execute : MathQL.query -> MathQL.result (* execute query *) -(* - * esecuzione di query - *) -val execute: mquery -> mqresult;; +val close : unit -> unit (* close database *) -(* - * chiusura del database - *) -val close: unit -> unit +val check : unit -> Postgres.connection (* check connection *) + +val set_stat : bool -> unit (* set stat emission *) + +val get_stat : unit -> bool (* check stat emission *)