parse_opt_ctx_t
static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options)
static int parse_long_opt(struct parse_opt_ctx_t *p, const char *arg,
static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt,
static void parse_options_start(struct parse_opt_ctx_t *ctx,
struct parse_opt_ctx_t *);
static int parse_options_step(struct parse_opt_ctx_t *ctx,
static int parse_options_end(struct parse_opt_ctx_t *ctx)
struct parse_opt_ctx_t ctx;
static int get_value(struct parse_opt_ctx_t *p,
static bool option__in_argv(const struct option *opt, const struct parse_opt_ctx_t *ctx)
struct parse_opt_ctx_t *ctx)