From 0877eff4012ab1184112814a3492d23bf266f848 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 6 Mar 2017 19:34:22 +0100 Subject: thd_rnd service --- include/mysql/plugin_encryption.h.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/mysql/plugin_encryption.h.pp') diff --git a/include/mysql/plugin_encryption.h.pp b/include/mysql/plugin_encryption.h.pp index 86d4427bc03..3d027e58389 100644 --- a/include/mysql/plugin_encryption.h.pp +++ b/include/mysql/plugin_encryption.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); -- cgit v1.2.1