~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.h

  • Committer: Brian Aker
  • Date: 2010-06-02 23:40:24 UTC
  • mto: (1578.6.9 explain-drizzle)
  • mto: This revision was merged to the branch mainline in revision 1585.
  • Revision ID: brian@gir-2.local-20100602234024-x26qr3pfhvood1d7
keys and fields partial encapsulation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define DRIZZLED_DRIZZLED_H
23
23
 
24
24
#include <bitset>
25
 
#include <boost/program_options.hpp>
26
25
 
27
26
#include "drizzled/atomics.h"
28
 
#include "drizzled/global_buffer.h"
29
 
#include "drizzled/definitions.h"
 
27
 
30
28
struct passwd;
31
29
 
32
30
namespace drizzled
39
37
 
40
38
extern std::bitset<12> test_flags;
41
39
extern atomic<uint32_t> connection_count;
 
40
extern bool calling_initgroups;
42
41
extern const char *load_default_groups[];
43
42
extern bool volatile select_thread_in_use;
44
43
extern bool volatile abort_loop;
48
47
extern passwd *user_info;
49
48
extern char *drizzled_user;
50
49
 
51
 
extern global_buffer_constraint<uint64_t> global_sort_buffer;
52
 
extern global_buffer_constraint<uint64_t> global_join_buffer;
53
 
extern global_buffer_constraint<uint64_t> global_read_rnd_buffer;
54
 
extern global_buffer_constraint<uint64_t> global_read_buffer;
55
 
 
56
50
extern const char * const DRIZZLE_CONFIG_NAME;
57
51
 
58
 
boost::program_options::variables_map &getVariablesMap();
59
 
 
60
 
int init_thread_environment();
61
52
int init_server_components(module::Registry &modules);
62
 
int init_common_variables(int argc, char **argv, module::Registry &modules);
 
53
int init_common_variables(const char *conf_file_name, int argc,
 
54
                          char **argv, const char **groups);
63
55
 
64
56
passwd *check_user(const char *user);
65
57
void set_user(const char *user, passwd *user_info_arg);
66
58
void clean_up(bool print_message);
 
59
void clean_up_mutexes(void);
67
60
bool drizzle_rm_tmp_tables();
68
61
 
69
62
} /* namespace drizzled */