X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2FmQIMySql.mli;h=36e8f18d904efb0aaff0f6e6142ebd709891ca40;hb=5325734bc2e4927ed7ec146e35a6f0f2b49f50c1;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..36e8f18d9 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 -> Mysql.dbd -val init : string -> connection option +val close : Mysql.dbd -> unit -val close : connection option -> unit - -val exec : connection option -> string -> string list list - -val quote : string -> string +val exec : Mysql.dbd * (MQITypes.query -> unit) -> + MQITypes.table -> MQITypes.columns -> + string MQITypes.con_true -> string MQITypes.con_false -> + MQITypes.result