php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
mysqlnd_protocol_frame_codec.c File Reference
#include "php.h"
#include "mysqlnd.h"
#include "mysqlnd_connection.h"
#include "mysqlnd_priv.h"
#include "mysqlnd_read_buffer.h"
#include "mysqlnd_wireprotocol.h"
#include "mysqlnd_statistics.h"
#include "mysqlnd_debug.h"

Go to the source code of this file.

Macros

#define COPY_HEADER(T, A)
 
#define STORE_HEADER_SIZE(safe_storage, buffer)
 
#define RESTORE_HEADER_SIZE(buffer, safe_storage)
 

Functions

PHPAPI MYSQLND_PFCmysqlnd_pfc_init (const bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_factory) *object_factory, MYSQLND_STATS *stats, MYSQLND_ERROR_INFO *error_info)
 
PHPAPI void mysqlnd_pfc_free (MYSQLND_PFC *const pfc, MYSQLND_STATS *stats, MYSQLND_ERROR_INFO *error_info)
 

Variables

 NULL
 
 MYSQLND_CLASS_METHODS_END
 

Macro Definition Documentation

◆ COPY_HEADER

#define COPY_HEADER ( T,
A )
Value:
do { \
*(((char *)(T))) = *(((char *)(A)));\
*(((char *)(T))+1) = *(((char *)(A))+1);\
*(((char *)(T))+2) = *(((char *)(A))+2);\
*(((char *)(T))+3) = *(((char *)(A))+3); } while (0)
#define T
Definition encoding.c:236
#define A(x, l, r)
Definition hash_gost.c:85

Definition at line 43 of file mysqlnd_protocol_frame_codec.c.

◆ RESTORE_HEADER_SIZE

#define RESTORE_HEADER_SIZE ( buffer,
safe_storage )
Value:
STORE_HEADER_SIZE((safe_storage), (buffer))
#define STORE_HEADER_SIZE(safe_storage, buffer)
Definition file.h:177

Definition at line 49 of file mysqlnd_protocol_frame_codec.c.

◆ STORE_HEADER_SIZE

#define STORE_HEADER_SIZE ( safe_storage,
buffer )
Value:
COPY_HEADER((safe_storage), (buffer))
#define COPY_HEADER(T, A)

Definition at line 48 of file mysqlnd_protocol_frame_codec.c.

Function Documentation

◆ mysqlnd_pfc_free()

PHPAPI void mysqlnd_pfc_free ( MYSQLND_PFC *const pfc,
MYSQLND_STATS * stats,
MYSQLND_ERROR_INFO * error_info )

Definition at line 512 of file mysqlnd_protocol_frame_codec.c.

◆ mysqlnd_pfc_init()

PHPAPI MYSQLND_PFC * mysqlnd_pfc_init ( const bool persistent,
MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_factory) * object_factory,
MYSQLND_STATS * stats,
MYSQLND_ERROR_INFO * error_info )

Definition at line 499 of file mysqlnd_protocol_frame_codec.c.

Variable Documentation

◆ MYSQLND_CLASS_METHODS_END

MYSQLND_CLASS_METHODS_END

Definition at line 494 of file mysqlnd_protocol_frame_codec.c.

◆ NULL

NULL

Definition at line 490 of file mysqlnd_protocol_frame_codec.c.