summaryrefslogtreecommitdiff
path: root/include/mysql/plugin_auth.h.pp
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-07-13 17:48:06 +0200
committerSergei Golubchik <sergii@pisem.net>2013-07-13 17:48:06 +0200
commit3e9446a7426d13c8cc53937b0dc9a8ce17127ae3 (patch)
treeecca01e0ae52afde99aa9393a22a57f319fc208f /include/mysql/plugin_auth.h.pp
parent36519b8a830204f45ec4693c89b6bdb8c9c6b79b (diff)
downloadmariadb-git-3e9446a7426d13c8cc53937b0dc9a8ce17127ae3.tar.gz
SHA1 service
(because mysql_ssl library is built with -fvisibility=hidden)
Diffstat (limited to 'include/mysql/plugin_auth.h.pp')
-rw-r--r--include/mysql/plugin_auth.h.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mysql/plugin_auth.h.pp b/include/mysql/plugin_auth.h.pp
index 4f04d51cb52..25c56284ca2 100644
--- a/include/mysql/plugin_auth.h.pp
+++ b/include/mysql/plugin_auth.h.pp
@@ -93,6 +93,13 @@ extern struct kill_statement_service_st {
enum thd_kill_levels (*thd_kill_level_func)(const void*);
} *thd_kill_statement_service;
enum thd_kill_levels thd_kill_level(const void*);
+#include <mysql/service_sha1.h>
+extern struct my_sha1_service_st {
+ void (*my_sha1_type)(unsigned char*, const char*, size_t);
+ void (*my_sha1_multi_type)(unsigned char*, ...);
+} *my_sha1_service;
+void my_sha1(unsigned char*, const char*, size_t);
+void my_sha1_multi(unsigned char*, ...);
struct st_mysql_xid {
long formatID;
long gtrid_length;