30
30
static int findopt(char *optpat, uint length,
31
31
const struct my_option **opt_res,
34
34
static uint64_t getopt_ull(char *arg, const struct my_option *optp,
36
36
static double getopt_double(char *arg, const struct my_option *optp, int *err);
37
37
static void init_variables(const struct my_option *options,
38
38
init_func_p init_one_value);
39
39
static void init_one_value(const struct my_option *option, char **variable,
41
41
static void fini_one_value(const struct my_option *option, char **variable,
43
43
static int setval(const struct my_option *opts, char* *value, char *argument,
45
45
static char *check_struct_option(char *cur_arg, char *key_name);