The internal version of what plugins know as MYSQL_PLUGIN_VIO, basically the context of the authentication session.
More...
|
MYSQL_SERVER_AUTH_INFO | auth_info |
|
const ACL_USER * | acl_user |
|
Restrictions * | restrictions |
|
plugin_ref | plugin |
| what plugin we're under More...
|
|
LEX_STRING | db |
| db name from the handshake packet More...
|
|
struct { |
const char * plugin |
|
const char * pkt |
| pointers into NET::buff More...
|
|
uint pkt_len |
|
} | cached_client_reply |
| when restarting a plugin this caches the last client reply More...
|
|
struct { |
char * pkt |
|
uint pkt_len |
|
} | cached_server_packet |
| this caches the first plugin packet for restart request on the client More...
|
|
int | packets_read |
|
int | packets_written |
| counters for send/received packets More...
|
|
enum MPVIO_EXT:: { ... } | status |
| when plugin returns a failure this tells us what really happened More...
|
|
char * | scramble |
|
MEM_ROOT * | mem_root |
|
struct rand_struct * | rand |
|
my_thread_id | thread_id |
|
uint * | server_status |
|
Protocol_classic * | protocol |
|
ulong | max_client_packet_length |
|
const char * | ip |
|
const char * | host |
|
Thd_charset_adapter * | charset_adapter |
|
LEX_CSTRING | acl_user_plugin |
|
int | vio_is_encrypted |
|
int(* | read_packet )(struct MYSQL_PLUGIN_VIO *vio, unsigned char **buf) |
| Plugin provides a pointer reference and this function sets it to the contents of any incoming packet. More...
|
|
int(* | write_packet )(struct MYSQL_PLUGIN_VIO *vio, const unsigned char *packet, int packet_len) |
| Plugin provides a buffer with data and the length and this function sends it as a packet. More...
|
|
void(* | info )(struct MYSQL_PLUGIN_VIO *vio, struct MYSQL_PLUGIN_VIO_INFO *info) |
| Fills in a MYSQL_PLUGIN_VIO_INFO structure, providing the information about the connection. More...
|
|
enum net_async_status(* | read_packet_nonblocking )(struct MYSQL_PLUGIN_VIO *vio, unsigned char **buf, int *result) |
| Non blocking version of read_packet. More...
|
|
enum net_async_status(* | write_packet_nonblocking )(struct MYSQL_PLUGIN_VIO *vio, const unsigned char *pkt, int pkt_len, int *result) |
| Non blocking version of write_packet. More...
|
|
The internal version of what plugins know as MYSQL_PLUGIN_VIO, basically the context of the authentication session.