Home
last modified time | relevance | path

Searched refs:parse_opt_ctx_t (Results 1 – 2 of 2) sorted by relevance

/tools/lib/subcmd/
Dparse-options.c48 static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt, in get_arg()
69 static int get_value(struct parse_opt_ctx_t *p, in get_value()
342 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt()
360 static int parse_long_opt(struct parse_opt_ctx_t *p, const char *arg, in parse_long_opt()
493 static void parse_options_start(struct parse_opt_ctx_t *ctx, in parse_options_start()
509 struct parse_opt_ctx_t *);
511 static int parse_options_step(struct parse_opt_ctx_t *ctx, in parse_options_step()
622 static int parse_options_end(struct parse_opt_ctx_t *ctx) in parse_options_end()
632 struct parse_opt_ctx_t ctx; in parse_options_subcommand()
824 static bool option__in_argv(const struct option *opt, const struct parse_opt_ctx_t *ctx) in option__in_argv()
[all …]
Dparse-options.h205 struct parse_opt_ctx_t { struct