~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/option.h

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
typedef void (* my_error_reporter) (enum loglevel level, const char *format, ... );
67
67
typedef char ** (*getopt_get_addr_func)(const char *, uint32_t, const struct option *);
68
68
 
69
 
extern bool my_getopt_skip_unknown;
70
 
 
71
 
extern int handle_options (int *argc, char ***argv,
72
 
                           const struct option *longopts, my_get_one_option);
 
69
extern int handle_options (int *argc, char ***argv, const option*, my_get_one_option);
73
70
extern void my_cleanup_options(const struct option *options);
74
71
extern void my_print_help(const struct option *options);
75
72
extern void my_print_variables(const struct option *options);
76
73
 
77
 
uint64_t getopt_ull_limit_value(uint64_t num, const struct option *optp,
78
 
                                 bool *fix);
79
 
int64_t getopt_ll_limit_value(int64_t, const struct option *,
80
 
                               bool *fix);
 
74
uint64_t getopt_ull_limit_value(uint64_t num, const option&, bool* fix);
 
75
int64_t getopt_ll_limit_value(int64_t, const option&, bool* fix);
81
76
bool getopt_compare_strings(const char *s, const char *t, uint32_t length);
82
77
 
83
78
} /* namespace drizzled */