package mariadb

  1. Overview
  2. Docs

Parameters

module F : Cstubs.FOREIGN

Signature

type mysql = unit Ctypes.ptr
val mysql : mysql Ctypes.typ
type mysql_opt = unit Ctypes.ptr option
val mysql_opt : mysql_opt Ctypes.typ
type res = unit Ctypes.ptr
val res : res Ctypes.typ
type res_opt = unit Ctypes.ptr option
val res_opt : res_opt Ctypes.typ
type row = char Ctypes.ptr Ctypes.ptr
val row : row Ctypes.typ
type row_opt = char Ctypes.ptr Ctypes.ptr option
val row_opt : row_opt Ctypes.typ
type stmt = unit Ctypes.ptr
val stmt : stmt Ctypes.typ
type stmt_opt = unit Ctypes.ptr option
val stmt_opt : stmt_opt Ctypes.typ
type field = unit Ctypes.ptr
val field : field Ctypes.typ
type my_bool = char
val my_bool : char Ctypes.typ
val mysql_library_init : (int -> char Ctypes_static.ptr Ctypes_static.ptr option -> char Ctypes_static.ptr Ctypes_static.ptr option -> int F.return) F.result
val mysql_library_end : (unit -> unit F.return) F.result
val mysql_init : (mysql_opt -> mysql_opt F.return) F.result
val mysql_close : (mysql -> unit F.return) F.result
val mysql_options : (mysql -> int -> unit Ctypes_static.ptr -> int F.return) F.result
val mysql_options4 : (mysql -> int -> unit Ctypes_static.ptr -> unit Ctypes_static.ptr -> int F.return) F.result
val mysql_num_fields : (res -> int F.return) F.result
val mysql_errno : (mysql -> int F.return) F.result
val mysql_error : (mysql -> string F.return) F.result
val mysql_stmt_init : (mysql -> stmt_opt F.return) F.result
val mysql_stmt_errno : (stmt -> int F.return) F.result
val mysql_stmt_error : (stmt -> string F.return) F.result
val mysql_stmt_attr_set : (stmt -> int -> unit Ctypes_static.ptr -> char F.return) F.result
val mysql_stmt_bind_param : (stmt -> unit Ctypes_static.ptr -> char F.return) F.result
val mysql_stmt_param_count : (stmt -> Unsigned.ulong F.return) F.result
val mysql_stmt_result_metadata : (stmt -> res_opt F.return) F.result
val mysql_fetch_field_direct : (res -> Unsigned.uint -> unit Ctypes_static.ptr F.return) F.result
val mysql_stmt_bind_result : (stmt -> unit Ctypes_static.ptr -> char F.return) F.result
val mysql_stmt_num_rows : (stmt -> Unsigned.ullong F.return) F.result
val mysql_stmt_affected_rows : (res -> Unsigned.ullong F.return) F.result
val mysql_real_connect : (mysql -> char Ctypes_static.ptr option -> char Ctypes_static.ptr option -> char Ctypes_static.ptr option -> char Ctypes_static.ptr option -> Unsigned.uint -> char Ctypes_static.ptr option -> Unsigned.ulong -> mysql_opt F.return) F.result
val mysql_commit : (mysql -> char F.return) F.result
val mysql_rollback : (mysql -> char F.return) F.result
val mysql_autocommit : (mysql -> char -> char F.return) F.result
val mysql_set_character_set : (mysql -> char Ctypes_static.ptr -> int F.return) F.result
val mysql_select_db : (mysql -> char Ctypes_static.ptr -> int F.return) F.result
val mysql_change_user : (mysql -> char Ctypes_static.ptr -> char Ctypes_static.ptr -> char Ctypes_static.ptr option -> char F.return) F.result
val mysql_set_server_option : (mysql -> int -> int F.return) F.result
val mysql_ping : (mysql -> int F.return) F.result
val mysql_stmt_prepare : (stmt -> char Ctypes_static.ptr -> Unsigned.ulong -> int F.return) F.result
val mysql_stmt_execute : (stmt -> int F.return) F.result
val mysql_stmt_fetch : (stmt -> int F.return) F.result
val mysql_stmt_close : (stmt -> char F.return) F.result
val mysql_stmt_store_result : (stmt -> int F.return) F.result
val mysql_stmt_free_result : (stmt -> char F.return) F.result
val mysql_close_start : (mysql -> int F.return) F.result
val mysql_close_cont : (mysql -> int -> int F.return) F.result
val mysql_real_connect_start : (mysql_opt Ctypes_static.ptr -> mysql -> char Ctypes_static.ptr option -> char Ctypes_static.ptr option -> char Ctypes_static.ptr option -> char Ctypes_static.ptr option -> Unsigned.uint -> char Ctypes_static.ptr option -> Unsigned.ulong -> int F.return) F.result
val mysql_real_connect_cont : (mysql_opt Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_real_query_start : (int Ctypes_static.ptr -> mysql -> char Ctypes_static.ptr -> Unsigned.ulong -> int F.return) F.result
val mysql_real_query_cont : (int Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_fetch_row_start : (row_opt Ctypes_static.ptr -> res -> int F.return) F.result
val mysql_fetch_row_cont : (row_opt Ctypes_static.ptr -> res -> int -> int F.return) F.result
val mysql_free_result_start : (res -> int F.return) F.result
val mysql_free_result_cont : (res -> int -> int F.return) F.result
val mysql_get_socket : (mysql -> int F.return) F.result
val mysql_get_timeout_value : (mysql -> Unsigned.uint F.return) F.result
val mysql_get_timeout_value_ms : (mysql -> Unsigned.uint F.return) F.result
val mysql_set_character_set_start : (int Ctypes_static.ptr -> mysql -> char Ctypes_static.ptr -> int F.return) F.result
val mysql_set_character_set_cont : (int Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_select_db_start : (int Ctypes_static.ptr -> mysql -> char Ctypes_static.ptr -> int F.return) F.result
val mysql_select_db_cont : (int Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_change_user_start : (char Ctypes_static.ptr -> mysql -> char Ctypes_static.ptr -> char Ctypes_static.ptr -> char Ctypes_static.ptr option -> int F.return) F.result
val mysql_change_user_cont : (char Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_set_server_option_start : (int Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_set_server_option_cont : (int Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_ping_start : (int Ctypes_static.ptr -> mysql -> int F.return) F.result
val mysql_ping_cont : (int Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_stmt_prepare_start : (int Ctypes_static.ptr -> stmt -> char Ctypes_static.ptr -> Unsigned.ulong -> int F.return) F.result
val mysql_stmt_prepare_cont : (int Ctypes_static.ptr -> stmt -> int -> int F.return) F.result
val mysql_stmt_execute_start : (int Ctypes_static.ptr -> stmt -> int F.return) F.result
val mysql_stmt_execute_cont : (int Ctypes_static.ptr -> stmt -> int -> int F.return) F.result
val mysql_stmt_fetch_start : (int Ctypes_static.ptr -> stmt -> int F.return) F.result
val mysql_stmt_fetch_cont : (int Ctypes_static.ptr -> stmt -> int -> int F.return) F.result
val mysql_stmt_store_result_start : (int Ctypes_static.ptr -> stmt -> int F.return) F.result
val mysql_stmt_store_result_cont : (int Ctypes_static.ptr -> stmt -> int -> int F.return) F.result
val mysql_stmt_close_start : (char Ctypes_static.ptr -> stmt -> int F.return) F.result
val mysql_stmt_close_cont : (char Ctypes_static.ptr -> stmt -> int -> int F.return) F.result
val mysql_stmt_free_result_start : (char Ctypes_static.ptr -> stmt -> int F.return) F.result
val mysql_stmt_free_result_cont : (char Ctypes_static.ptr -> stmt -> int -> int F.return) F.result
val mysql_commit_start : (char Ctypes_static.ptr -> mysql -> int F.return) F.result
val mysql_commit_cont : (char Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_rollback_start : (char Ctypes_static.ptr -> mysql -> int F.return) F.result
val mysql_rollback_cont : (char Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_autocommit_start : (char Ctypes_static.ptr -> mysql -> char -> int F.return) F.result
val mysql_autocommit_cont : (char Ctypes_static.ptr -> mysql -> int -> int F.return) F.result
val mysql_stmt_next_result_start : (int Ctypes_static.ptr -> stmt -> int F.return) F.result
val mysql_stmt_next_result_cont : (int Ctypes_static.ptr -> stmt -> int -> int F.return) F.result
OCaml

Innovation. Community. Security.