MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
my_rnd.h
1 #ifndef MY_RANDOM_INCLUDED
2 #define MY_RANDOM_INCLUDED
3 
4 /*
5  Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; version 2 of the License.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
19 
20 /*
21  A wrapper to use OpenSSL/YaSSL PRNGs.
22 */
23 
24 #include <my_global.h>
25 #include <mysql_com.h>
26 #include <limits.h>
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 double my_rnd_ssl(struct rand_struct *rand_st);
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 
38 #endif /* MY_RANDOM_INCLUDED */