~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.h

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
 
 *  Copyright (C) 2010 Monty Taylor
6
 
 *
7
 
 *  This program is free software; you can redistribute it and/or modify
8
 
 *  it under the terms of the GNU General Public License as published by
9
 
 *  the Free Software Foundation; version 2 of the License.
10
 
 *
11
 
 *  This program is distributed in the hope that it will be useful,
12
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 *  GNU General Public License for more details.
15
 
 *
16
 
 *  You should have received a copy of the GNU General Public License
17
 
 *  along with this program; if not, write to the Free Software
18
 
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
 
 */
20
 
 
21
 
#ifndef DRIZZLED_DRIZZLED_H
22
 
#define DRIZZLED_DRIZZLED_H
23
 
 
24
 
#include <bitset>
25
 
#include <boost/program_options.hpp>
26
 
 
27
 
#include <boost/detail/atomic_count.hpp>
28
 
 
29
 
#include "drizzled/global_buffer.h"
30
 
#include "drizzled/definitions.h"
31
 
 
32
 
struct passwd;
33
 
 
34
 
namespace drizzled
35
 
{
36
 
 
37
 
namespace module
38
 
{
39
 
class Registry;
40
 
}
41
 
 
42
 
extern boost::detail::atomic_count connection_count;
43
 
extern const char *load_default_groups[];
44
 
extern bool volatile select_thread_in_use;
45
 
extern bool volatile abort_loop;
46
 
extern bool volatile ready_to_exit;
47
 
extern bool opt_help;
48
 
extern bool opt_help_extended;
49
 
extern passwd *user_info;
50
 
extern char *drizzled_user;
51
 
 
52
 
extern global_buffer_constraint<uint64_t> global_sort_buffer;
53
 
extern global_buffer_constraint<uint64_t> global_join_buffer;
54
 
extern global_buffer_constraint<uint64_t> global_read_rnd_buffer;
55
 
extern global_buffer_constraint<uint64_t> global_read_buffer;
56
 
 
57
 
extern size_t transaction_message_threshold;
58
 
 
59
 
extern const char * const DRIZZLE_CONFIG_NAME;
60
 
 
61
 
boost::program_options::variables_map &getVariablesMap();
62
 
 
63
 
int init_thread_environment();
64
 
int init_server_components(module::Registry &modules);
65
 
int init_basic_variables(int argc, char **argv);
66
 
int init_remaining_variables(module::Registry &modules);
67
 
 
68
 
passwd *check_user(const char *user);
69
 
void set_user(const char *user, passwd *user_info_arg);
70
 
void clean_up(bool print_message);
71
 
bool drizzle_rm_tmp_tables();
72
 
 
73
 
} /* namespace drizzled */
74
 
 
75
 
#endif /* DRIZZLED_DRIZZLED_H */