34 #ifndef GRPC_SUPPORT_CMDLINE_H
35 #define GRPC_SUPPORT_CMDLINE_H
84 gpr_cmdline *cl,
const char *name,
const char *help,
85 void (*on_extra_arg)(
void *user_data,
const char *arg),
void *user_data);
struct gpr_cmdline gpr_cmdline
Definition: cmdline.h:67
void gpr_cmdline_destroy(gpr_cmdline *cl)
void gpr_cmdline_parse(gpr_cmdline *cl, int argc, char **argv)
void gpr_cmdline_add_int(gpr_cmdline *cl, const char *name, const char *help, int *value)
void gpr_cmdline_on_extra_arg(gpr_cmdline *cl, const char *name, const char *help, void(*on_extra_arg)(void *user_data, const char *arg), void *user_data)
gpr_cmdline * gpr_cmdline_create(const char *description)
char * gpr_cmdline_usage_string(gpr_cmdline *cl, const char *argv0)
void gpr_cmdline_add_flag(gpr_cmdline *cl, const char *name, const char *help, int *value)
void gpr_cmdline_add_string(gpr_cmdline *cl, const char *name, const char *help, char **value)