summaryrefslogtreecommitdiff
path: root/include/my_getopt.h
diff options
context:
space:
mode:
authorjani@rhols221.adsl.netsonic.fi <>2002-05-07 20:35:06 +0300
committerjani@rhols221.adsl.netsonic.fi <>2002-05-07 20:35:06 +0300
commitc44504834150f7a2a9be68b737e0e8f4b6c11177 (patch)
treeff03f00462c085ba6d187bd79a5392a47b3adf0b /include/my_getopt.h
parentd8f20876bea748e719e709f8027b7d2f910b3c1a (diff)
downloadmariadb-git-c44504834150f7a2a9be68b737e0e8f4b6c11177.tar.gz
Fixed some bugs in my_getopt.c, added functionality for new GET_*
types, migrated mysqld.cc to use my_getopt.
Diffstat (limited to 'include/my_getopt.h')
-rw-r--r--include/my_getopt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_getopt.h b/include/my_getopt.h
index b3b3ee2f785..085dfaaac73 100644
--- a/include/my_getopt.h
+++ b/include/my_getopt.h
@@ -16,7 +16,8 @@
C_MODE_START
-enum get_opt_var_type { GET_NO_ARG, GET_BOOL, GET_LONG, GET_LL, GET_STR };
+enum get_opt_var_type { GET_NO_ARG, GET_BOOL, GET_INT, GET_UINT, GET_LONG,
+ GET_ULONG, GET_LL, GET_ULL, GET_STR };
enum get_opt_arg_type { NO_ARG, OPT_ARG, REQUIRED_ARG };
struct my_option