1#ifndef MYSYS_MY_STATIC_INCLUDED
2#define MYSYS_MY_STATIC_INCLUDED
3
4/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; version 2 of the License.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
18
19/*
20 Static variables for mysys library. All definied here for easy making of
21 a shared library
22*/
23
24C_MODE_START
25#include <signal.h>
26
27#define MAX_SIGNALS 10 /* Max signals under a dont-allow */
28
29struct st_remember {
30 int number;
31 sig_handler (*func)(int number);
32};
33
34extern char curr_dir[FN_REFLEN], home_dir_buff[FN_REFLEN];
35
36extern volatile int _my_signals;
37extern struct st_remember _my_sig_remember[MAX_SIGNALS];
38
39extern const char *soundex_map;
40
41extern USED_MEM* my_once_root_block;
42extern uint my_once_extra;
43
44extern struct st_my_file_info my_file_info_default[MY_NFILE];
45
46C_MODE_END
47
48#endif /* MYSYS_MY_STATIC_INCLUDED */
49