Drizzled Public API Documentation

my_static.cc
00001 /* Copyright (C) 2000 MySQL AB
00002 
00003    This program is free software; you can redistribute it and/or modify
00004    it under the terms of the GNU General Public License as published by
00005    the Free Software Foundation; version 2 of the License.
00006 
00007    This program is distributed in the hope that it will be useful,
00008    but WITHOUT ANY WARRANTY; without even the implied warranty of
00009    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00010    GNU General Public License for more details.
00011 
00012    You should have received a copy of the GNU General Public License
00013    along with this program; if not, write to the Free Software
00014    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
00015 
00016 /*
00017   Static variables for mysys library. All definied here for easy making of
00018   a shared library
00019 */
00020 
00021 #include <config.h>
00022 
00023 #include <drizzled/internal/my_sys.h>
00024 #include <drizzled/error.h>
00025 #include "my_static.h"
00026 #include <stdlib.h>
00027 
00028 #include <drizzled/visibility.h>
00029 
00030 namespace drizzled
00031 {
00032 namespace internal
00033 {
00034 
00035 bool timed_mutexes= 0;
00036 
00037   /* from my_init */
00038 char *  home_dir=0;
00039 const char      *my_progname=0;
00040 char curr_dir[FN_REFLEN]= {0},
00041      home_dir_buff[FN_REFLEN]= {0};
00042 DRIZZLED_API int my_umask=0664;
00043 int my_umask_dir=0777;
00044 
00045   /* From mf_brkhant */
00046 volatile int    _my_signals=0;
00047 sigset_t my_signals;      /* signals blocked by mf_brkhant */
00048 
00049   /* from mf_reccache.c */
00050 uint32_t my_default_record_cache_size=RECORD_CACHE_SIZE;
00051 
00052   /* from my_alarm */
00053 int volatile my_have_got_alarm=0; /* declare variable to reset */
00054 uint32_t my_time_to_wait_for_lock=2;  /* In seconds */
00055 
00056   /* How to disable options */
00057 bool my_disable_symlinks=0;
00058 
00059 } /* namespace internal */
00060 } /* namespace drizzled */