summaryrefslogtreecommitdiff
path: root/include/mysql/client_plugin.h.pp
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-07-12 14:34:47 +0200
committerSergei Golubchik <sergii@pisem.net>2011-07-12 14:34:47 +0200
commitc97f938bcf53d7c3b65e7ac8020857cae5813b6f (patch)
tree1031fe015a9ec5651bfb9f62b3b20339eda6d86d /include/mysql/client_plugin.h.pp
parent55d13e8dc72eb10d266762f413dabf4b5b887713 (diff)
downloadmariadb-git-c97f938bcf53d7c3b65e7ac8020857cae5813b6f.tar.gz
move authentication_windows_client and mysql_clear_password clear client auth plugins
out of libmysql into separate dynamic plugins in the plugin/ directory. move dialog and auth_socket plugins out of the plugin directory with examples into dedicated directories in plugin/
Diffstat (limited to 'include/mysql/client_plugin.h.pp')
-rw-r--r--include/mysql/client_plugin.h.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql/client_plugin.h.pp b/include/mysql/client_plugin.h.pp
index 06ed6f2e6d8..f3a0b5769df 100644
--- a/include/mysql/client_plugin.h.pp
+++ b/include/mysql/client_plugin.h.pp
@@ -24,6 +24,8 @@ 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);
};
+#include <mysql/auth_dialog_client.h>
+struct st_mysql;
typedef char *(*mysql_authentication_dialog_ask_t)(struct st_mysql *mysql,
int type, const char *prompt, char *buf, int buf_len);
struct st_mysql_client_plugin *