MySQL 8.4.2
Source Code Documentation
MCPVIO_EXT Struct Reference

#include <client_async_authentication.h>

Public Attributes

int(* read_packet )(MYSQL_PLUGIN_VIO *vio, uchar **buf)
 
int(* write_packet )(MYSQL_PLUGIN_VIO *vio, const uchar *pkt, int pkt_len)
 
void(* info )(MYSQL_PLUGIN_VIO *vio, MYSQL_PLUGIN_VIO_INFO *info)
 
net_async_status(* read_packet_nonblocking )(struct MYSQL_PLUGIN_VIO *vio, unsigned char **buf, int *result)
 
net_async_status(* write_packet_nonblocking )(struct MYSQL_PLUGIN_VIO *vio, const unsigned char *pkt, int pkt_len, int *result)
 
MYSQLmysql
 
auth_plugin_tplugin
 what plugin we're under More...
 
const char * db
 
struct {
   uchar *   pkt
 pointer into NET::buff More...
 
   uint   pkt_len
 
   bool   pkt_received
 a flag indicating that pkt, pkt_len contain valid packet to be reused More...
 
cached_server_reply
 
int packets_read
 
int packets_written
 counters for send/received packets More...
 
int mysql_change_user
 if it's mysql_change_user() More...
 
int last_read_packet_len
 the length of the last read packet More...
 

Member Data Documentation

◆ 

struct { ... } MCPVIO_EXT::cached_server_reply

◆ db

const char* MCPVIO_EXT::db

◆ info

void(* MCPVIO_EXT::info) (MYSQL_PLUGIN_VIO *vio, MYSQL_PLUGIN_VIO_INFO *info)

◆ last_read_packet_len

int MCPVIO_EXT::last_read_packet_len

the length of the last read packet

◆ mysql

MYSQL* MCPVIO_EXT::mysql

◆ mysql_change_user

int MCPVIO_EXT::mysql_change_user

if it's mysql_change_user()

◆ packets_read

int MCPVIO_EXT::packets_read

◆ packets_written

int MCPVIO_EXT::packets_written

counters for send/received packets

◆ pkt

uchar* MCPVIO_EXT::pkt

pointer into NET::buff

◆ pkt_len

uint MCPVIO_EXT::pkt_len

◆ pkt_received

bool MCPVIO_EXT::pkt_received

a flag indicating that pkt, pkt_len contain valid packet to be reused

◆ plugin

auth_plugin_t* MCPVIO_EXT::plugin

what plugin we're under

◆ read_packet

int(* MCPVIO_EXT::read_packet) (MYSQL_PLUGIN_VIO *vio, uchar **buf)

◆ read_packet_nonblocking

net_async_status(* MCPVIO_EXT::read_packet_nonblocking) (struct MYSQL_PLUGIN_VIO *vio, unsigned char **buf, int *result)

◆ write_packet

int(* MCPVIO_EXT::write_packet) (MYSQL_PLUGIN_VIO *vio, const uchar *pkt, int pkt_len)

◆ write_packet_nonblocking

net_async_status(* MCPVIO_EXT::write_packet_nonblocking) (struct MYSQL_PLUGIN_VIO *vio, const unsigned char *pkt, int pkt_len, int *result)

The documentation for this struct was generated from the following file: