~jaypipes/drizzle/subscriber-plugin

« back to all changes in this revision

Viewing changes to drizzled/my_getopt.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#ifndef MYSYS_MY_GETOPT_H
17
 
#define MYSYS_MY_GETOPT_H
 
16
#ifndef DRIZZLED_MY_GETOPT_H
 
17
#define DRIZZLED_MY_GETOPT_H
18
18
 
19
 
#include "mysys/my_sys.h"
 
19
#include "drizzled/typelib.h"
20
20
 
21
21
#define GET_NO_ARG     1
22
22
#define GET_BOOL       2
44
44
extern "C" {
45
45
#endif
46
46
 
 
47
enum loglevel {
 
48
   ERROR_LEVEL,
 
49
   WARNING_LEVEL,
 
50
   INFORMATION_LEVEL
 
51
};
 
52
 
47
53
enum get_opt_arg_type { NO_ARG, OPT_ARG, REQUIRED_ARG };
48
54
 
49
55
struct st_typelib;
90
96
}
91
97
#endif
92
98
 
93
 
#endif /* MYSYS_MY_GETOPT_H */
 
99
#endif /* DRIZZLED_MY_GETOPT_H */
94
100