MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
my_default_priv.h
1 /* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
2 
3  This program is free software; you can redistribute it and/or modify
4  it under the terms of the GNU General Public License as published by
5  the Free Software Foundation; version 2 of the License.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  GNU General Public License for more details.
11 
12  You should have received a copy of the GNU General Public License
13  along with this program; if not, write to the Free Software Foundation,
14  51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */
15 
16 #ifndef MY_DEFAULT_PRIV_INCLUDED
17 #define MY_DEFAULT_PRIV_INCLUDED
18 
19 #include "my_global.h" /* C_MODE_START, C_MODE_END */
20 
21 /*
22  Number of byte used to store the length of
23  cipher that follows.
24 */
25 #define MAX_CIPHER_STORE_LEN 4U
26 #define LOGIN_KEY_LEN 20U
27 
28 C_MODE_START
29 
39 int my_default_get_login_file(char *file_name, size_t file_name_size);
40 
41 C_MODE_END
42 
43 #endif /* MY_DEFAULT_PRIV_INCLUDED */