~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

Viewing changes to mysys/my_static.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2011-11-08 11:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20111108113113-3ulw01fvi4vn8m25
Tags: upstream-5.5.17
ImportĀ upstreamĀ versionĀ 5.5.17

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
24
C_MODE_START
 
25
#include <signal.h>
 
26
 
 
27
#define MAX_SIGNALS     10              /* Max signals under a dont-allow */
 
28
 
 
29
struct st_remember {
 
30
  int number;
 
31
  sig_handler (*func)(int number);
 
32
};
 
33
 
 
34
extern char curr_dir[FN_REFLEN], home_dir_buff[FN_REFLEN];
 
35
 
 
36
extern volatile int _my_signals;
 
37
extern struct st_remember _my_sig_remember[MAX_SIGNALS];
 
38
 
 
39
extern const char *soundex_map;
 
40
 
 
41
extern USED_MEM* my_once_root_block;
 
42
extern uint      my_once_extra;
 
43
 
 
44
extern struct st_my_file_info my_file_info_default[MY_NFILE];
 
45
 
 
46
extern ulonglong query_performance_frequency, query_performance_offset;
 
47
 
 
48
C_MODE_END
 
49
 
 
50
#endif /* MYSYS_MY_STATIC_INCLUDED */