MySQL  8.0.23
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
 
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

◆ cached_server_reply

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

◆ 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: