~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getopt.h

  • Committer: Brian Aker
  • Date: 2008-11-04 15:39:09 UTC
  • mfrom: (575.1.2 devel)
  • Revision ID: brian@tangent.org-20081104153909-c72hn65udxs1ccal
Merge of Monty's 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
 
 
21
19
#define GET_NO_ARG     1
22
20
#define GET_BOOL       2
23
21
#define GET_INT        3
36
34
#define GET_ASK_ADDR     128
37
35
#define GET_TYPE_MASK    127
38
36
 
 
37
#ifdef __cplusplus
 
38
extern "C" {
 
39
#endif
 
40
 
39
41
#include <mysys/my_sys.h>
40
42
 
41
43
enum get_opt_arg_type { NO_ARG, OPT_ARG, REQUIRED_ARG };
80
82
                                 bool *fix);
81
83
int64_t getopt_ll_limit_value(int64_t, const struct my_option *,
82
84
                               bool *fix);
83
 
bool getopt_compare_strings(const char *s, const char *t, uint length);
 
85
bool getopt_compare_strings(const char *s, const char *t, uint32_t length);
84
86
 
85
 
C_MODE_END
 
87
#ifdef __cplusplus
 
88
}
 
89
#endif
86
90
 
87
91
#endif /* _my_getopt_h */
88
92