~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getopt.h

  • Committer: Brian Aker
  • Date: 2008-08-12 03:12:57 UTC
  • Revision ID: brian@tangent.org-20080812031257-ln3uk87y1r22byeg
First pass of new sql_db.cc work

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#ifndef _my_getopt_h
17
17
#define _my_getopt_h
18
18
 
 
19
C_MODE_START
 
20
 
19
21
#define GET_NO_ARG     1
20
22
#define GET_BOOL       2
21
23
#define GET_INT        3
34
36
#define GET_ASK_ADDR     128
35
37
#define GET_TYPE_MASK    127
36
38
 
37
 
#ifdef __cplusplus
38
 
extern "C" {
39
 
#endif
40
 
 
41
39
#include <mysys/my_sys.h>
42
40
 
43
41
enum get_opt_arg_type { NO_ARG, OPT_ARG, REQUIRED_ARG };
82
80
                                 bool *fix);
83
81
int64_t getopt_ll_limit_value(int64_t, const struct my_option *,
84
82
                               bool *fix);
85
 
bool getopt_compare_strings(const char *s, const char *t, uint32_t length);
 
83
bool getopt_compare_strings(const char *s, const char *t, uint length);
86
84
 
87
 
#ifdef __cplusplus
88
 
}
89
 
#endif
 
85
C_MODE_END
90
86
 
91
87
#endif /* _my_getopt_h */
92
88