#ifndef AOM_COMMON_ARGS_HELPER_H_
#define AOM_COMMON_ARGS_HELPER_H_
#include "aom/aom_encoder.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ARG_ERR_MSG_MAX_LEN …
struct arg { … };
struct arg_enum_list { … };
#define ARG_ENUM_LIST_END …
arg_def_t;
#define ARG_DEF(s, l, v, d) …
#define ARG_DEF_ENUM(s, l, v, d, e) …
#define ARG_DEF_LIST_END …
struct arg arg_init(char **argv);
int arg_match_helper(struct arg *arg_, const struct arg_def *def, char **argv,
char *err_msg);
unsigned int arg_parse_uint_helper(const struct arg *arg, char *err_msg);
int arg_parse_int_helper(const struct arg *arg, char *err_msg);
struct aom_rational arg_parse_rational_helper(const struct arg *arg,
char *err_msg);
int arg_parse_enum_helper(const struct arg *arg, char *err_msg);
int arg_parse_enum_or_int_helper(const struct arg *arg, char *err_msg);
int arg_parse_list_helper(const struct arg *arg, int *list, int n,
char *err_msg);
#ifdef __cplusplus
}
#endif
#endif