~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getopt.h

  • Committer: Monty Taylor
  • Date: 2008-09-23 06:09:48 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: monty@inaugust.com-20080923060948-pec1d5wxetf84tte
Cleaned up stuff out of global.h.

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 };
82
84
                               bool *fix);
83
85
bool getopt_compare_strings(const char *s, const char *t, uint length);
84
86
 
85
 
C_MODE_END
 
87
#ifdef __cplusplus
 
88
}
 
89
#endif
86
90
 
87
91
#endif /* _my_getopt_h */
88
92