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()
213 cmd_opt.long_opt.name = key->opt; in key_init()214 cmd_opt.long_opt.has_arg = required_argument; in key_init()215 cmd_opt.long_opt.flag = NULL; in key_init()216 cmd_opt.long_opt.val = CMD_OPT_KEY; in key_init()
250 cmd_opt.long_opt.name = cert->opt; in cert_init()251 cmd_opt.long_opt.has_arg = required_argument; in cert_init()252 cmd_opt.long_opt.flag = NULL; in cert_init()253 cmd_opt.long_opt.val = CMD_OPT_CERT; in cert_init()
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;
97 static void print_help(const char *cmd, const struct option *long_opt) in print_help() argument105 assert(long_opt != NULL); in print_help()118 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 8 milliseconds