OXIESEC PANEL
- Current Dir:
/
/
usr
/
include
/
mysql
/
server
/
mysql
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
07/04/2024 10:47:16 PM
rwxr-xr-x
📄
auth_dialog_client.h
2.01 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
client_plugin.h
6.18 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
plugin.h
29.17 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
plugin_audit.h
5.44 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
plugin_auth.h
5.27 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
plugin_auth_common.h
4.4 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
plugin_data_type.h
1.27 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
plugin_encryption.h
4.33 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
plugin_ftparser.h
7.65 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
plugin_function.h
1.4 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
plugin_password_validation.h
1.58 KB
06/05/2024 05:31:10 PM
rw-r--r--
📁
psi
-
07/04/2024 10:47:16 PM
rwxr-xr-x
📄
service_base64.h
2.86 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_debug_sync.h
13.18 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_encryption.h
5.52 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_encryption_scheme.h
5.51 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_json.h
4.44 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_kill_statement.h
2.02 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_logger.h
3.47 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_md5.h
2.07 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_my_crypt.h
4.07 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_my_print_error.h
2.27 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_my_snprintf.h
3.63 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_print_check_msg.h
1.52 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_progress_report.h
3.28 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_sha1.h
2.11 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_sha2.h
5.17 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_sql.h
4.57 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_thd_alloc.h
4.38 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_thd_autoinc.h
1.65 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_thd_error_context.h
3.34 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_thd_mdl.h
1.25 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_thd_rnd.h
1.86 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_thd_specifics.h
3.6 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_thd_timezone.h
2.24 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_thd_wait.h
3.61 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
service_wsrep.h
13.81 KB
06/05/2024 05:31:10 PM
rw-r--r--
📄
services.h
1.72 KB
06/05/2024 05:31:10 PM
rw-r--r--
Editing: service_sql.h
Close
/* Copyright (C) 2021 MariaDB Corporation This program 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; version 2 of the License. This program 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 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #ifndef MYSQL_SERVICE_SQL #define MYSQL_SERVICE_SQL #ifndef MYSQL_ABI_CHECK #include <mysql.h> #endif /** @file SQL service Interface for plugins to execute SQL queries on the local server. Functions of the service are the 'server-limited' client library: mysql_init mysql_real_connect_local mysql_real_connect mysql_errno mysql_error mysql_real_query mysql_affected_rows mysql_num_rows mysql_store_result mysql_free_result mysql_fetch_row mysql_close */ #ifdef __cplusplus extern "C" { #endif extern struct sql_service_st { MYSQL *(STDCALL *mysql_init_func)(MYSQL *mysql); MYSQL *(*mysql_real_connect_local_func)(MYSQL *mysql); MYSQL *(STDCALL *mysql_real_connect_func)(MYSQL *mysql, const char *host, const char *user, const char *passwd, const char *db, unsigned int port, const char *unix_socket, unsigned long clientflag); unsigned int(STDCALL *mysql_errno_func)(MYSQL *mysql); const char *(STDCALL *mysql_error_func)(MYSQL *mysql); int (STDCALL *mysql_real_query_func)(MYSQL *mysql, const char *q, unsigned long length); my_ulonglong (STDCALL *mysql_affected_rows_func)(MYSQL *mysql); my_ulonglong (STDCALL *mysql_num_rows_func)(MYSQL_RES *res); MYSQL_RES *(STDCALL *mysql_store_result_func)(MYSQL *mysql); void (STDCALL *mysql_free_result_func)(MYSQL_RES *result); MYSQL_ROW (STDCALL *mysql_fetch_row_func)(MYSQL_RES *result); void (STDCALL *mysql_close_func)(MYSQL *mysql); int (STDCALL *mysql_options_func)(MYSQL *mysql, enum mysql_option option, const void *arg); unsigned long *(STDCALL *mysql_fetch_lengths_func)(MYSQL_RES *res); int (STDCALL *mysql_set_character_set_func)(MYSQL *mysql, const char *cs_name); unsigned int (STDCALL *mysql_num_fields_func)(MYSQL_RES *res); int (STDCALL *mysql_select_db_func)(MYSQL *mysql, const char *db); my_bool (STDCALL *mysql_ssl_set_func)(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher); } *sql_service; #ifdef MYSQL_DYNAMIC_PLUGIN #define mysql_init(M) sql_service->mysql_init_func(M) #define mysql_real_connect_local(M) sql_service->mysql_real_connect_local_func(M) #define mysql_real_connect(M,H,U,PW,D,P,S,F) sql_service->mysql_real_connect_func(M,H,U,PW,D,P,S,F) #define mysql_errno(M) sql_service->mysql_errno_func(M) #define mysql_error(M) sql_service->mysql_error_func(M) #define mysql_real_query sql_service->mysql_real_query_func #define mysql_affected_rows(M) sql_service->mysql_affected_rows_func(M) #define mysql_num_rows(R) sql_service->mysql_num_rows_func(R) #define mysql_store_result(M) sql_service->mysql_store_result_func(M) #define mysql_free_result(R) sql_service->mysql_free_result_func(R) #define mysql_fetch_row(R) sql_service->mysql_fetch_row_func(R) #define mysql_close(M) sql_service->mysql_close_func(M) #define mysql_options(M,O,V) sql_service->mysql_options_func(M,O,V) #define mysql_fetch_lengths(R) sql_service->mysql_fetch_lengths_func(R) #define mysql_set_character_set(M,C) sql_service->mysql_set_character_set_func(M,C) #define mysql_num_fields(R) sql_service->mysql_num_fields_func(R) #define mysql_select_db(M,D) sql_service->mysql_select_db_func(M,D) #define mysql_ssl_set(M,K,C,A,P,H) sql_service->mysql_ssl_set_func(M,K,C,A,P,H) #else /* Establishes the connection to the 'local' server that started the plugin. Like the mysql_real_connect() does for the remote server. The established connection has no user/host associated to it, neither it has the current db, so the queries should have database/table name specified. */ MYSQL *mysql_real_connect_local(MYSQL *mysql); /* The rest of the function declarations must be taken from the mysql.h */ #endif /*MYSQL_DYNAMIC_PLUGIN*/ #ifdef __cplusplus } #endif #endif /*MYSQL_SERVICE_SQL */