Download src/php/php-src/ext/mysqlnd/mysqlnd_ext_plugin.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 7.97 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mysqlnd/mysqlnd_ext_plugin.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/mysqlnd/mysqlnd_ext_plugin.h
-
curl -L -o mysqlnd_ext_plugin.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mysqlnd/mysqlnd_ext_plugin.h
7.97 kB
| /* | |
| +----------------------------------------------------------------------+ | |
| | Copyright (c) The PHP Group | | |
| +----------------------------------------------------------------------+ | |
| | This source file is subject to version 3.01 of the PHP license, | | |
| | that is bundled with this package in the file LICENSE, and is | | |
| | available through the world-wide-web at the following url: | | |
| | https://www.php.net/license/3_01.txt | | |
| | If you did not receive a copy of the PHP license and are unable to | | |
| | obtain it through the world-wide-web, please send a note to | | |
| | license@php.net so we can mail you a copy immediately. | | |
| +----------------------------------------------------------------------+ | |
| | Authors: Andrey Hristov <andrey@php.net> | | |
| | Johannes Schlüter <johannes@php.net> | | |
| | Ulf Wendel <uw@php.net> | | |
| +----------------------------------------------------------------------+ | |
| */ | |
| struct st_mysqlnd_plugin__plugin_area_getters | |
| { | |
| void ** (*get_connection_area)(const MYSQLND * conn, const unsigned int plugin_id); | |
| void ** (*get_connection_data_area)(const MYSQLND_CONN_DATA * conn, const unsigned int plugin_id); | |
| void ** (*get_result_area)(const MYSQLND_RES * result, const unsigned int plugin_id); | |
| void ** (*get_unbuffered_area)(const MYSQLND_RES_UNBUFFERED * result, const unsigned int plugin_id); | |
| void ** (*get_result_buffered_aread)(const MYSQLND_RES_BUFFERED * result, const unsigned int plugin_id); | |
| void ** (*get_stmt_area)(const MYSQLND_STMT * stmt, const unsigned int plugin_id); | |
| void ** (*get_protocol_decoder_area)(const MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY * factory, const unsigned int plugin_id); | |
| void ** (*get_pfc_area)(const MYSQLND_PFC * pfc, const unsigned int plugin_id); | |
| void ** (*get_vio_area)(const MYSQLND_VIO * vio, const unsigned int plugin_id); | |
| }; | |
| PHPAPI extern struct st_mysqlnd_plugin__plugin_area_getters mysqlnd_plugin_area_getters; | |
| struct st_mysqlnd_plugin_methods_xetters | |
| { | |
| struct st_mnd_object_factory_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_factory) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_factory) *methods); | |
| } object_factory; | |
| struct st_mnd_connection_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_conn) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_conn) *methods); | |
| } connection; | |
| struct st_mnd_connection_data_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_conn_data) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_conn_data) *methods); | |
| } connection_data; | |
| struct st_mnd_result_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_res) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_res) *methods); | |
| } result; | |
| struct st_mnd_unbuffered_result_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_result_unbuffered) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_result_unbuffered) *methods); | |
| } unbuffered_result; | |
| struct st_mnd_buffered_result_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_result_buffered)* (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_result_buffered) *methods); | |
| } buffered_result; | |
| struct st_mnd_stmt_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_stmt) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_stmt) * methods); | |
| } statement; | |
| struct st_mnd_protocol_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_protocol_payload_decoder_factory)* (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_protocol_payload_decoder_factory) *methods); | |
| } protocol; | |
| struct st_mnd_pfc_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_protocol_packet_frame_codec) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_protocol_packet_frame_codec) * methods); | |
| } pfc; | |
| struct st_mnd_vio_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_vio) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_vio) * methods); | |
| } vio; | |
| struct st_mnd_error_info_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_error_info) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_error_info) * methods); | |
| } error_info; | |
| struct st_mnd_command_xetters | |
| { | |
| MYSQLND_CLASS_METHODS_TYPE(mysqlnd_command) * (*get)(void); | |
| void (*set)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_command) * methods); | |
| } command; | |
| }; | |
| PHPAPI extern struct st_mysqlnd_plugin_methods_xetters mysqlnd_plugin_methods_xetters; | |