Go to the source code of this file.
Defines | |
| #define | GET_NO_ARG 1 |
| #define | GET_BOOL 2 |
| #define | GET_INT 3 |
| #define | GET_UINT 4 |
| #define | GET_LONG 5 |
| #define | GET_ULONG 6 |
| #define | GET_LL 7 |
| #define | GET_ULL 8 |
| #define | GET_STR 9 |
| #define | GET_STR_ALLOC 10 |
| #define | GET_DISABLED 11 |
| #define | GET_ASK_ADDR 128 |
| #define | GET_TYPE_MASK 127 |
Typedefs | |
| typedef my_bool(* | my_get_one_option )(int, const struct my_option *, char *) |
| typedef void(* | my_error_reporter )(enum loglevel level, const char *format,...) |
Enumerations | |
| enum | get_opt_arg_type { NO_ARG, OPT_ARG, REQUIRED_ARG } |
Functions | |
| int | handle_options (int *argc, char ***argv, const struct my_option *longopts, my_get_one_option) |
| void | my_print_help (const struct my_option *options) |
| void | my_print_variables (const struct my_option *options) |
| void | my_getopt_register_get_addr (gptr *(*func_addr)(const char *, uint, const struct my_option *)) |
| ulonglong | getopt_ull_limit_value (ulonglong num, const struct my_option *optp) |
| my_bool | getopt_compare_strings (const char *s, const char *t, uint length) |
Variables | |
| char * | disabled_my_option |
| my_bool | my_getopt_print_errors |
| my_error_reporter | my_getopt_error_reporter |
|
|
Definition at line 34 of file my_getopt.h. |
|
|
Definition at line 23 of file my_getopt.h. |
|
|
Definition at line 32 of file my_getopt.h. |
|
|
Definition at line 24 of file my_getopt.h. |
|
|
Definition at line 28 of file my_getopt.h. |
|
|
Definition at line 26 of file my_getopt.h. |
|
|
Definition at line 22 of file my_getopt.h. |
|
|
Definition at line 30 of file my_getopt.h. |
|
|
Definition at line 31 of file my_getopt.h. |
|
|
Definition at line 35 of file my_getopt.h. |
|
|
Definition at line 25 of file my_getopt.h. |
|
|
Definition at line 29 of file my_getopt.h. |
|
|
Definition at line 27 of file my_getopt.h. |
|
|
Definition at line 58 of file my_getopt.h. |
|
|
Definition at line 57 of file my_getopt.h. |
|
|
Definition at line 37 of file my_getopt.h. |
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2