php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "php.h"
#include "mysqlnd.h"
#include "mysqlnd_connection.h"
#include "mysqlnd_ps.h"
#include "mysqlnd_priv.h"
#include "mysqlnd_wireprotocol.h"
#include "mysqlnd_statistics.h"
#include "mysqlnd_debug.h"
Go to the source code of this file.
Macros | |
#define | BAIL_IF_NO_MORE_DATA |
#define | ERROR_MARKER 0xFF |
#define | EODATA_MARKER 0xFE |
#define | MARIADB_RPL_VERSION_HACK "5.5.5-" |
#define | AUTH_WRITE_BUFFER_LEN (MYSQLND_HEADER_SIZE + MYSQLND_MAX_ALLOWED_USER_LEN + SCRAMBLE_LENGTH + MYSQLND_MAX_ALLOWED_DB_LEN + 1 + 4096) |
#define | READ_RSET_FIELD(field_name) |
#define | PREPARE_RESPONSE_SIZE_41 9 |
#define | PREPARE_RESPONSE_SIZE_50 12 |
Variables | |
const char *const | mysqlnd_empty_string = "" |
const char | mysqlnd_read_header_name [] = "mysqlnd_read_header" |
const char | mysqlnd_read_body_name [] = "mysqlnd_read_body" |
const char *const | mysqlnd_command_to_text [COM_END] |
MYSQLND_CLASS_METHODS_END | |
#define AUTH_WRITE_BUFFER_LEN (MYSQLND_HEADER_SIZE + MYSQLND_MAX_ALLOWED_USER_LEN + SCRAMBLE_LENGTH + MYSQLND_MAX_ALLOWED_DB_LEN + 1 + 4096) |
Definition at line 523 of file mysqlnd_wireprotocol.c.
#define BAIL_IF_NO_MORE_DATA |
Definition at line 27 of file mysqlnd_wireprotocol.c.
#define EODATA_MARKER 0xFE |
Definition at line 42 of file mysqlnd_wireprotocol.c.
#define ERROR_MARKER 0xFF |
Definition at line 41 of file mysqlnd_wireprotocol.c.
#define MARIADB_RPL_VERSION_HACK "5.5.5-" |
Definition at line 44 of file mysqlnd_wireprotocol.c.
#define PREPARE_RESPONSE_SIZE_41 9 |
Definition at line 1821 of file mysqlnd_wireprotocol.c.
#define PREPARE_RESPONSE_SIZE_50 12 |
Definition at line 1822 of file mysqlnd_wireprotocol.c.
#define READ_RSET_FIELD | ( | field_name | ) |
Definition at line 1173 of file mysqlnd_wireprotocol.c.
PHPAPI void mysqlnd_protocol_payload_decoder_factory_free | ( | MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY *const | factory | ) |
Definition at line 2692 of file mysqlnd_wireprotocol.c.
PHPAPI MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY * mysqlnd_protocol_payload_decoder_factory_init | ( | MYSQLND_CONN_DATA * | conn, |
const bool | persistent ) |
Definition at line 2680 of file mysqlnd_wireprotocol.c.
size_t php_mysqlnd_cmd_write | ( | MYSQLND_CONN_DATA * | conn, |
void * | _packet ) |
Definition at line 992 of file mysqlnd_wireprotocol.c.
zend_ulong php_mysqlnd_net_field_length | ( | const zend_uchar ** | packet | ) |
Definition at line 94 of file mysqlnd_wireprotocol.c.
uint64_t php_mysqlnd_net_field_length_ll | ( | const zend_uchar ** | packet | ) |
Definition at line 124 of file mysqlnd_wireprotocol.c.
zend_uchar * php_mysqlnd_net_store_length | ( | zend_uchar * | packet, |
const uint64_t | length ) |
Definition at line 153 of file mysqlnd_wireprotocol.c.
size_t php_mysqlnd_net_store_length_size | ( | uint64_t | length | ) |
Definition at line 180 of file mysqlnd_wireprotocol.c.
enum_func_status php_mysqlnd_rowp_read_binary_protocol | ( | MYSQLND_ROW_BUFFER * | row_buffer, |
zval * | fields, | ||
const unsigned int | field_count, | ||
const MYSQLND_FIELD *const | fields_metadata, | ||
const bool | as_int_or_float, | ||
MYSQLND_STATS *const | stats ) |
Definition at line 1454 of file mysqlnd_wireprotocol.c.
enum_func_status php_mysqlnd_rowp_read_text_protocol | ( | MYSQLND_ROW_BUFFER * | row_buffer, |
zval * | fields, | ||
unsigned int | field_count, | ||
const MYSQLND_FIELD * | fields_metadata, | ||
bool | as_int_or_float, | ||
MYSQLND_STATS * | stats ) |
Definition at line 1562 of file mysqlnd_wireprotocol.c.
MYSQLND_CLASS_METHODS_END |
Definition at line 2675 of file mysqlnd_wireprotocol.c.
const char* const mysqlnd_command_to_text[COM_END] |
Definition at line 47 of file mysqlnd_wireprotocol.c.
const char* const mysqlnd_empty_string = "" |
Definition at line 35 of file mysqlnd_wireprotocol.c.
const char mysqlnd_read_body_name[] = "mysqlnd_read_body" |
Definition at line 39 of file mysqlnd_wireprotocol.c.
const char mysqlnd_read_header_name[] = "mysqlnd_read_header" |
Definition at line 38 of file mysqlnd_wireprotocol.c.