diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-03-06 19:34:22 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-03-10 18:21:27 +0100 |
commit | 0877eff4012ab1184112814a3492d23bf266f848 (patch) | |
tree | 1b34a6bbbd9c1e2d505a0806b85bdc521620083a /include/mysql/plugin_auth.h.pp | |
parent | 6305533de2fd38d43c149d4d7c847f65d68205c7 (diff) | |
download | mariadb-git-0877eff4012ab1184112814a3492d23bf266f848.tar.gz |
thd_rnd service
Diffstat (limited to 'include/mysql/plugin_auth.h.pp')
-rw-r--r-- | include/mysql/plugin_auth.h.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mysql/plugin_auth.h.pp b/include/mysql/plugin_auth.h.pp index 63ad776314d..c3e90210dd6 100644 --- a/include/mysql/plugin_auth.h.pp +++ b/include/mysql/plugin_auth.h.pp @@ -219,6 +219,12 @@ extern struct thd_autoinc_service_st { } *thd_autoinc_service; void thd_get_autoinc(const void* thd, unsigned long* off, unsigned long* inc); +extern struct thd_rnd_service_st { + double (*thd_rnd_ptr)(void* thd); + void (*thd_c_r_p_ptr)(void* thd, char *to, size_t length); +} *thd_rnd_service; +double thd_rnd(void* thd); +void thd_create_random_password(void* thd, char *to, size_t length); extern struct thd_error_context_service_st { const char *(*thd_get_error_message_func)(const void* thd); unsigned int (*thd_get_error_number_func)(const void* thd); |