Drizzled Public API Documentation

my_static.cc
1 /* Copyright (C) 2000 MySQL AB
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
14  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
15 
16 /*
17  Static variables for mysys library. All definied here for easy making of
18  a shared library
19 */
20 
21 #include <config.h>
22 
23 #include <drizzled/internal/my_sys.h>
24 #include <drizzled/error.h>
25 #include "my_static.h"
26 #include <stdlib.h>
27 
28 #include <drizzled/visibility.h>
29 
30 namespace drizzled
31 {
32 namespace internal
33 {
34 
35 bool timed_mutexes= 0;
36 
37  /* from my_init */
38 char * home_dir=0;
39 const char *my_progname=0;
40 char curr_dir[FN_REFLEN]= {0},
41  home_dir_buff[FN_REFLEN]= {0};
42 DRIZZLED_API int my_umask=0664;
43 int my_umask_dir=0777;
44 
45  /* From mf_brkhant */
46 volatile int _my_signals=0;
47 sigset_t my_signals; /* signals blocked by mf_brkhant */
48 
49  /* from mf_reccache.c */
50 uint32_t my_default_record_cache_size=RECORD_CACHE_SIZE;
51 
52  /* from my_alarm */
53 int volatile my_have_got_alarm=0; /* declare variable to reset */
54 uint32_t my_time_to_wait_for_lock=2; /* In seconds */
55 
56  /* How to disable options */
57 bool my_disable_symlinks=0;
58 
59 } /* namespace internal */
60 } /* namespace drizzled */