File indexing completed on 2025-01-17 09:55:52
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 typedef struct mysqlStubDefs {
0015
0016
0017
0018 int (STDCALL*mysql_server_initPtr)(int, char**, char**);
0019 void (STDCALL*mysql_server_endPtr)(void);
0020 my_ulonglong (STDCALL*mysql_affected_rowsPtr)(MYSQL*);
0021 my_bool (STDCALL*mysql_autocommitPtr)(MYSQL*, my_bool);
0022 my_bool (STDCALL*mysql_change_userPtr)(MYSQL*, const char*, const char*, const char*);
0023 my_bool (STDCALL*mysql_closePtr)(MYSQL*);
0024 my_bool (STDCALL*mysql_commitPtr)(MYSQL*);
0025 unsigned int (STDCALL*mysql_errnoPtr)(MYSQL*);
0026 const char* (STDCALL*mysql_errorPtr)(MYSQL*);
0027 MYSQL_FIELD* (STDCALL*mysql_fetch_fieldsPtr)(MYSQL_RES*);
0028 unsigned long* (STDCALL*mysql_fetch_lengthsPtr)(MYSQL_RES*);
0029 MYSQL_ROW (STDCALL*mysql_fetch_rowPtr)(MYSQL_RES*);
0030 unsigned int (STDCALL*mysql_field_countPtr)(MYSQL*);
0031 void (STDCALL*mysql_free_resultPtr)(MYSQL_RES*);
0032 unsigned long (STDCALL*mysql_get_client_versionPtr)(void);
0033 MYSQL* (STDCALL*mysql_initPtr)(MYSQL*);
0034 MYSQL_RES* (STDCALL*mysql_list_fieldsPtr)(MYSQL*, const char*, const char*);
0035 MYSQL_RES* (STDCALL*mysql_list_tablesPtr)(MYSQL*, const char*);
0036 unsigned int (STDCALL*mysql_num_fieldsPtr)(MYSQL_RES*);
0037 int (STDCALL*mysql_optionsPtr)(MYSQL*, enum mysql_option, const void*);
0038 int (STDCALL*mysql_queryPtr)(MYSQL*, const char*);
0039 MYSQL* (STDCALL*mysql_real_connectPtr)(MYSQL*, const char*, const char*, const char*, const char*, unsigned int, const char*, unsigned long);
0040 my_bool (STDCALL*mysql_rollbackPtr)(MYSQL*);
0041 int (STDCALL*mysql_select_dbPtr)(MYSQL*, const char*);
0042 const char* (STDCALL*mysql_sqlstatePtr)(MYSQL*);
0043 my_bool (STDCALL*mysql_ssl_setPtr)(MYSQL*, const char*, const char*, const char*, const char*, const char*);
0044 my_ulonglong (STDCALL*mysql_stmt_affected_rowsPtr)(MYSQL_STMT*);
0045 my_bool (STDCALL*mysql_stmt_bind_paramPtr)(MYSQL_STMT*, MYSQL_BIND*);
0046 my_bool (STDCALL*mysql_stmt_bind_resultPtr)(MYSQL_STMT*, MYSQL_BIND*);
0047 my_bool (STDCALL*mysql_stmt_closePtr)(MYSQL_STMT*);
0048 unsigned int (STDCALL*mysql_stmt_errnoPtr)(MYSQL_STMT*);
0049 const char* (STDCALL*mysql_stmt_errorPtr)(MYSQL_STMT*);
0050 int (STDCALL*mysql_stmt_executePtr)(MYSQL_STMT*);
0051 int (STDCALL*mysql_stmt_fetchPtr)(MYSQL_STMT*);
0052 int (STDCALL*mysql_stmt_fetch_columnPtr)(MYSQL_STMT*, MYSQL_BIND*, unsigned int, unsigned long);
0053 MYSQL_STMT* (STDCALL*mysql_stmt_initPtr)(MYSQL*);
0054 int (STDCALL*mysql_stmt_preparePtr)(MYSQL_STMT*, const char*, unsigned long);
0055 MYSQL_RES* (STDCALL*mysql_stmt_result_metadataPtr)(MYSQL_STMT*);
0056 const char* (STDCALL*mysql_stmt_sqlstatePtr)(MYSQL_STMT*);
0057 int (STDCALL*mysql_stmt_store_resultPtr)(MYSQL_STMT*);
0058 MYSQL_RES* (STDCALL*mysql_store_resultPtr)(MYSQL*);
0059 } mysqlStubDefs;
0060 #define mysql_server_init (mysqlStubs->mysql_server_initPtr)
0061 #define mysql_server_end (mysqlStubs->mysql_server_endPtr)
0062 #define mysql_affected_rows (mysqlStubs->mysql_affected_rowsPtr)
0063 #define mysql_autocommit (mysqlStubs->mysql_autocommitPtr)
0064 #define mysql_change_user (mysqlStubs->mysql_change_userPtr)
0065 #define mysql_close (mysqlStubs->mysql_closePtr)
0066 #define mysql_commit (mysqlStubs->mysql_commitPtr)
0067 #define mysql_errno (mysqlStubs->mysql_errnoPtr)
0068 #define mysql_error (mysqlStubs->mysql_errorPtr)
0069 #define mysql_fetch_fields (mysqlStubs->mysql_fetch_fieldsPtr)
0070 #define mysql_fetch_lengths (mysqlStubs->mysql_fetch_lengthsPtr)
0071 #define mysql_fetch_row (mysqlStubs->mysql_fetch_rowPtr)
0072 #define mysql_field_count (mysqlStubs->mysql_field_countPtr)
0073 #define mysql_free_result (mysqlStubs->mysql_free_resultPtr)
0074 #define mysql_get_client_version (mysqlStubs->mysql_get_client_versionPtr)
0075 #define mysql_init (mysqlStubs->mysql_initPtr)
0076 #define mysql_list_fields (mysqlStubs->mysql_list_fieldsPtr)
0077 #define mysql_list_tables (mysqlStubs->mysql_list_tablesPtr)
0078 #define mysql_num_fields (mysqlStubs->mysql_num_fieldsPtr)
0079 #define mysql_options (mysqlStubs->mysql_optionsPtr)
0080 #define mysql_query (mysqlStubs->mysql_queryPtr)
0081 #define mysql_real_connect (mysqlStubs->mysql_real_connectPtr)
0082 #define mysql_rollback (mysqlStubs->mysql_rollbackPtr)
0083 #define mysql_select_db (mysqlStubs->mysql_select_dbPtr)
0084 #define mysql_sqlstate (mysqlStubs->mysql_sqlstatePtr)
0085 #define mysql_ssl_set (mysqlStubs->mysql_ssl_setPtr)
0086 #define mysql_stmt_affected_rows (mysqlStubs->mysql_stmt_affected_rowsPtr)
0087 #define mysql_stmt_bind_param (mysqlStubs->mysql_stmt_bind_paramPtr)
0088 #define mysql_stmt_bind_result (mysqlStubs->mysql_stmt_bind_resultPtr)
0089 #define mysql_stmt_close (mysqlStubs->mysql_stmt_closePtr)
0090 #define mysql_stmt_errno (mysqlStubs->mysql_stmt_errnoPtr)
0091 #define mysql_stmt_error (mysqlStubs->mysql_stmt_errorPtr)
0092 #define mysql_stmt_execute (mysqlStubs->mysql_stmt_executePtr)
0093 #define mysql_stmt_fetch (mysqlStubs->mysql_stmt_fetchPtr)
0094 #define mysql_stmt_fetch_column (mysqlStubs->mysql_stmt_fetch_columnPtr)
0095 #define mysql_stmt_init (mysqlStubs->mysql_stmt_initPtr)
0096 #define mysql_stmt_prepare (mysqlStubs->mysql_stmt_preparePtr)
0097 #define mysql_stmt_result_metadata (mysqlStubs->mysql_stmt_result_metadataPtr)
0098 #define mysql_stmt_sqlstate (mysqlStubs->mysql_stmt_sqlstatePtr)
0099 #define mysql_stmt_store_result (mysqlStubs->mysql_stmt_store_resultPtr)
0100 #define mysql_store_result (mysqlStubs->mysql_store_resultPtr)
0101 MODULE_SCOPE const mysqlStubDefs *mysqlStubs;