Searched refs:long_opt (Results 1 – 9 of 9) sorted by relevance
15 static struct option long_opt[CMD_OPT_MAX_NUM+1]; variable28 long_opt[num_reg_opt].name = cmd_opt->long_opt.name; in cmd_opt_add()29 long_opt[num_reg_opt].has_arg = cmd_opt->long_opt.has_arg; in cmd_opt_add()30 long_opt[num_reg_opt].flag = 0; in cmd_opt_add()31 long_opt[num_reg_opt].val = cmd_opt->long_opt.val; in cmd_opt_add()40 return long_opt; in cmd_opt_get_array()49 return long_opt[idx].name; in cmd_opt_get_name()
82 cmd_opt.long_opt.name = ext->opt;83 cmd_opt.long_opt.has_arg = required_argument;84 cmd_opt.long_opt.flag = NULL;85 cmd_opt.long_opt.val = CMD_OPT_EXT;
274 cmd_opt.long_opt.name = key->opt; in key_init()275 cmd_opt.long_opt.has_arg = required_argument; in key_init()276 cmd_opt.long_opt.flag = NULL; in key_init()277 cmd_opt.long_opt.val = CMD_OPT_KEY; in key_init()
254 cmd_opt.long_opt.name = cert->opt; in cert_init()255 cmd_opt.long_opt.has_arg = required_argument; in cert_init()256 cmd_opt.long_opt.flag = NULL; in cert_init()257 cmd_opt.long_opt.val = CMD_OPT_CERT; in cert_init()
99 static void print_help(const char *cmd, const struct option *long_opt) in print_help() argument107 assert(long_opt != NULL); in print_help()120 opt = long_opt; in print_help()
35 static void print_help(const char *cmd, const struct option *long_opt) in print_help() argument43 assert(long_opt != NULL); in print_help()54 opt = long_opt; in print_help()
22 struct option long_opt; member
23 struct option long_opt; member
Completed in 13 milliseconds