~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.h

Merge Monty

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
33
31
{
34
32
 
35
 
namespace module
 
33
namespace plugin
36
34
{
37
35
class Registry;
38
36
}
39
37
 
40
38
extern std::bitset<12> test_flags;
 
39
extern uint32_t max_used_connections;
41
40
extern atomic<uint32_t> connection_count;
 
41
extern bool calling_initgroups;
42
42
extern const char *load_default_groups[];
43
43
extern bool volatile select_thread_in_use;
44
44
extern bool volatile abort_loop;
48
48
extern passwd *user_info;
49
49
extern char *drizzled_user;
50
50
 
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
51
extern const char * const DRIZZLE_CONFIG_NAME;
57
52
 
58
 
boost::program_options::variables_map &getVariablesMap();
59
 
 
60
 
int init_thread_environment();
61
 
int init_server_components(module::Registry &modules);
62
 
int init_common_variables(int argc, char **argv, module::Registry &modules);
 
53
int init_server_components(plugin::Registry &plugins);
 
54
int init_common_variables(const char *conf_file_name, int argc,
 
55
                          char **argv, const char **groups);
63
56
 
64
57
passwd *check_user(const char *user);
65
58
void set_user(const char *user, passwd *user_info_arg);
66
59
void clean_up(bool print_message);
 
60
void clean_up_mutexes(void);
67
61
bool drizzle_rm_tmp_tables();
68
62
 
69
63
} /* namespace drizzled */