~drizzle-trunk/drizzle/development

1300.5.2 by Monty Taylor
Changed build to build the almost all of drizzle into libdrizzled and then
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 *
1999.6.1 by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
1300.5.2 by Monty Taylor
Changed build to build the almost all of drizzle into libdrizzled and then
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
2234 by Brian Aker
Mass removal of ifdef/endif in favor of pragma once.
21
#pragma once
1300.5.2 by Monty Taylor
Changed build to build the almost all of drizzle into libdrizzled and then
22
23
#include <bitset>
1635.1.1 by Monty Taylor
Moved actual parsing of plugin program_options to drizzled.cc so that we do
24
#include <boost/program_options.hpp>
2039.3.5 by Brian Aker
Switched connection_count to use boost atomic.
25
#include <boost/detail/atomic_count.hpp>
2252.1.13 by Olaf van der Spek
Common fwd
26
#include <drizzled/common_fwd.h>
2173.2.1 by Monty Taylor
Fixes incorrect usage of include
27
#include <drizzled/global_buffer.h>
28
#include <drizzled/definitions.h>
2039.3.5 by Brian Aker
Switched connection_count to use boost atomic.
29
1300.5.2 by Monty Taylor
Changed build to build the almost all of drizzle into libdrizzled and then
30
struct passwd;
31
2252.1.13 by Olaf van der Spek
Common fwd
32
namespace drizzled {
1300.5.2 by Monty Taylor
Changed build to build the almost all of drizzle into libdrizzled and then
33
2039.3.5 by Brian Aker
Switched connection_count to use boost atomic.
34
extern boost::detail::atomic_count connection_count;
1300.5.2 by Monty Taylor
Changed build to build the almost all of drizzle into libdrizzled and then
35
extern const char *load_default_groups[];
36
extern bool volatile select_thread_in_use;
37
extern bool volatile abort_loop;
38
extern bool volatile ready_to_exit;
39
extern passwd *user_info;
40
1796.4.1 by Andrew Hutchings
Add initial template work and test
41
extern global_buffer_constraint<uint64_t> global_sort_buffer;
1796.4.9 by Andrew Hutchings
Add join cache global constraint
42
extern global_buffer_constraint<uint64_t> global_join_buffer;
1796.4.10 by Andrew Hutchings
Add global constraint for --read-rnd-buffer-size
43
extern global_buffer_constraint<uint64_t> global_read_rnd_buffer;
1796.4.11 by Andrew Hutchings
Add global constraint on read buffer
44
extern global_buffer_constraint<uint64_t> global_read_buffer;
1796.4.1 by Andrew Hutchings
Add initial template work and test
45
2132.3.1 by Andrew Hutchings
Make transaction_message_threshold a read-only global variable instead of a per-session variable
46
extern size_t transaction_message_threshold;
47
1300.5.2 by Monty Taylor
Changed build to build the almost all of drizzle into libdrizzled and then
48
extern const char * const DRIZZLE_CONFIG_NAME;
49
1635.1.1 by Monty Taylor
Moved actual parsing of plugin program_options to drizzled.cc so that we do
50
boost::program_options::variables_map &getVariablesMap();
51
1623 by Monty Taylor
Fixed a non-initialized issue on OSX.
52
int init_thread_environment();
2318.6.57 by Olaf van der Spek
Refactor
53
void init_server_components(module::Registry&);
2363.1.6 by Brian Aker
Add better error messages for issues on startup.
54
bool init_variables_before_daemonizing(int argc, char **argv);
55
bool init_variables_after_daemonizing(module::Registry&);
1300.5.2 by Monty Taylor
Changed build to build the almost all of drizzle into libdrizzled and then
56
57
passwd *check_user(const char *user);
58
void set_user(const char *user, passwd *user_info_arg);
59
void clean_up(bool print_message);
2392.1.1 by Brian Aker
Fixes for --help work.
60
bool was_help_requested();
61
1300.5.2 by Monty Taylor
Changed build to build the almost all of drizzle into libdrizzled and then
62
} /* namespace drizzled */
63