~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.h

  • Committer: Lee Bieber
  • Date: 2011-03-13 16:37:38 UTC
  • mfrom: (2227.4.18 session2)
  • Revision ID: kalebral@gmail.com-20110313163738-7ti21zk40o2xi3ew
Merge Olaf - Refactor Session

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
5
 *  Copyright (C) 2010 Monty Taylor
6
6
 *
7
7
 *  This program is free software; you can redistribute it and/or modify
24
24
#include <bitset>
25
25
#include <boost/program_options.hpp>
26
26
 
27
 
#include "drizzled/atomics.h"
28
 
#include "drizzled/global_buffer.h"
29
 
#include "drizzled/definitions.h"
 
27
#include <boost/detail/atomic_count.hpp>
 
28
 
 
29
#include <drizzled/global_buffer.h>
 
30
#include <drizzled/definitions.h>
 
31
 
30
32
struct passwd;
31
33
 
32
34
namespace drizzled
37
39
class Registry;
38
40
}
39
41
 
40
 
extern std::bitset<12> test_flags;
41
 
extern atomic<uint32_t> connection_count;
 
42
extern boost::detail::atomic_count connection_count;
42
43
extern const char *load_default_groups[];
43
44
extern bool volatile select_thread_in_use;
44
45
extern bool volatile abort_loop;
53
54
extern global_buffer_constraint<uint64_t> global_read_rnd_buffer;
54
55
extern global_buffer_constraint<uint64_t> global_read_buffer;
55
56
 
 
57
extern size_t transaction_message_threshold;
 
58
 
56
59
extern const char * const DRIZZLE_CONFIG_NAME;
57
60
 
58
61
boost::program_options::variables_map &getVariablesMap();
59
62
 
60
63
int init_thread_environment();
61
64
int init_server_components(module::Registry &modules);
62
 
int init_common_variables(int argc, char **argv, module::Registry &modules);
 
65
int init_basic_variables(int argc, char **argv);
 
66
int init_remaining_variables(module::Registry &modules);
63
67
 
64
68
passwd *check_user(const char *user);
65
69
void set_user(const char *user, passwd *user_info_arg);
66
70
void clean_up(bool print_message);
67
 
bool drizzle_rm_tmp_tables();
68
71
 
69
72
} /* namespace drizzled */
70
73