struct st_mysql_client_plugin { int type; unsigned int interface_version; const char *name; const char *author; const char *desc; unsigned int version[3]; const char *license; void *mysql_api; int (*init)(char *, size_t, int, va_list); int (*deinit)(); int (*options)(const char *option, const void *); }; struct st_mysql; #include <mysql/plugin_auth_common.h> typedef struct st_plugin_vio_info { enum { MYSQL_VIO_INVALID, MYSQL_VIO_TCP, MYSQL_VIO_SOCKET, MYSQL_VIO_PIPE, MYSQL_VIO_MEMORY } protocol; int socket; } MYSQL_PLUGIN_VIO_INFO; typedef struct st_plugin_vio { int (*read_packet)(struct st_plugin_vio *vio, unsigned char **buf); int (*write_packet)(struct st_plugin_vio *vio, const unsigned char *packet, int packet_len); void (*info)(struct st_plugin_vio *vio, struct st_plugin_vio_info *info); } MYSQL_PLUGIN_VIO; struct st_mysql_client_plugin_AUTHENTICATION { int type; unsigned int interface_version; const char *name; const char *author; const char *desc; unsigned int version[3]; const char *license; void *mysql_api; int (*init)(char *, size_t, int, va_list); int (*deinit)(); int (*options)(const char *option, const void *); int (*authenticate_user)(MYSQL_PLUGIN_VIO *vio, struct st_mysql *mysql); }; struct st_mysql_client_plugin * mysql_load_plugin(struct st_mysql *mysql, const char *name, int type, int argc, ...); struct st_mysql_client_plugin * mysql_load_plugin_v(struct st_mysql *mysql, const char *name, int type, int argc, va_list args); struct st_mysql_client_plugin * mysql_client_find_plugin(struct st_mysql *mysql, const char *name, int type); struct st_mysql_client_plugin * mysql_client_register_plugin(struct st_mysql *mysql, struct st_mysql_client_plugin *plugin); int mysql_plugin_options(struct st_mysql_client_plugin *plugin, const char *option, const void *value);
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
psi | Folder | 0755 |
|
|
client_authentication.h | File | 333 B | 0644 |
|
client_plugin.h | File | 5.88 KB | 0644 |
|
client_plugin.h.pp | File | 1.94 KB | 0644 |
|
get_password.h | File | 1.58 KB | 0644 |
|
innodb_priv.h | File | 1.77 KB | 0644 |
|
plugin.h | File | 24.05 KB | 0644 |
|
plugin_audit.h | File | 4.46 KB | 0644 |
|
plugin_audit.h.pp | File | 10.08 KB | 0644 |
|
plugin_auth.h | File | 3.74 KB | 0644 |
|
plugin_auth.h.pp | File | 9.92 KB | 0644 |
|
plugin_auth_common.h | File | 4.74 KB | 0644 |
|
plugin_ftparser.h | File | 7.83 KB | 0644 |
|
plugin_ftparser.h.pp | File | 8.85 KB | 0644 |
|
plugin_validate_password.h | File | 1.95 KB | 0644 |
|
service_my_plugin_log.h | File | 2.05 KB | 0644 |
|
service_my_snprintf.h | File | 3.7 KB | 0644 |
|
service_mysql_string.h | File | 5.64 KB | 0644 |
|
service_thd_alloc.h | File | 4.69 KB | 0644 |
|
service_thd_wait.h | File | 4 KB | 0644 |
|
service_thread_scheduler.h | File | 2.23 KB | 0644 |
|
services.h | File | 1.51 KB | 0644 |
|
thread_pool_priv.h | File | 5.36 KB | 0644 |
|