|
Banjo API 0.0.1
C99 game development API
|

Go to the source code of this file.
Data Structures | |
| struct | bj_cli_argument |
| struct | bj_cli |
Typedefs | |
| typedef bj_bool(* | bj_cli_action_fn) (const struct bj_cli *parser, const struct bj_cli_argument *arg, const char *value, void *dest, struct bj_error **error) |
Functions | |
| bj_bool | bj_cli_parse (struct bj_cli *parser, int argc, char *argv[], struct bj_error **error) |
| bj_bool | bj_cli_validate (const struct bj_cli *parser, struct bj_error **error) |
| void | bj_cli_print_help (const struct bj_cli *parser) |
| size_t | bj_cli_get_help_string (const struct bj_cli *parser, char *buffer, size_t buffer_size) |
| bj_bool | bj_cli_store_cstring (const struct bj_cli *parser, const struct bj_cli_argument *arg, const char *value, void *dest, struct bj_error **error) |
| bj_bool | bj_cli_store_double (const struct bj_cli *parser, const struct bj_cli_argument *arg, const char *value, void *dest, struct bj_error **error) |
| bj_bool | bj_cli_store_int (const struct bj_cli *parser, const struct bj_cli_argument *arg, const char *value, void *dest, struct bj_error **error) |
| bj_bool | bj_cli_store_uint (const struct bj_cli *parser, const struct bj_cli_argument *arg, const char *value, void *dest, struct bj_error **error) |
| bj_bool | bj_cli_store_bool (const struct bj_cli *parser, const struct bj_cli_argument *arg, const char *value, void *dest, struct bj_error **error) |
| bj_bool | bj_cli_print_help_action (const struct bj_cli *parser, const struct bj_cli_argument *arg, const char *value, void *dest, struct bj_error **error) |
POSIX/GNU-like command-line argument parser.