X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2FmQIMySql.mli;h=8afaf401ddde2d0f9762fe5fee7d7b4de7ca91da;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=8fa7acc3b0bc33f3df32bd550c90841b7f8db06a;hpb=b5503c72c5560e8da3337e99bf058f0caab350e8;p=helm.git diff --git a/helm/ocaml/mathql_interpreter/mQIMySql.mli b/helm/ocaml/mathql_interpreter/mQIMySql.mli index 8fa7acc3b..8afaf401d 100644 --- a/helm/ocaml/mathql_interpreter/mQIMySql.mli +++ b/helm/ocaml/mathql_interpreter/mQIMySql.mli @@ -26,12 +26,11 @@ (* AUTOR: Ferruccio Guidi *) -type connection +val init : unit -> HMysql.dbd -val init : string -> connection option +val close : HMysql.dbd -> unit -val close : connection option -> unit - -val exec : connection option -> string -> string list list - -val quote : string -> string +val exec : HMysql.dbd * (MQITypes.query -> unit) -> + MQITypes.table -> MQITypes.columns -> + string MQITypes.con_true -> string MQITypes.con_false -> + MQITypes.result