#include "argparse/argparse.h"
#include "config/config.h"
#include "core/analyze.h"
#include <gmp.h>
Go to the source code of this file.
|
CT_ARGPARSE_API int | ap_parse_common (ap_t *self, const char *text) |
|
CT_ARGPARSE_API void | ap_on_string (scan_t *scan, cfg_field_t *param, char *value) |
|
CT_ARGPARSE_API void | ap_on_bool (scan_t *scan, cfg_field_t *param, bool value) |
|
CT_ARGPARSE_API void | ap_on_int (scan_t *scan, cfg_field_t *param, mpz_t value) |
|
CT_ARGPARSE_API void | ap_on_posarg (scan_t *scan, char *value) |
|
CT_ARGPARSE_API void | ap_add_error (ap_t *self, const char *fmt,...) |
|
CT_ARGPARSE_API void | ap_on_invalid (scan_t *scan, char *value) |
|
CT_ARGPARSE_API int | ap_get_opt (scan_t *scan, const char *name, ap_field_t *param, char **value) |
|
◆ APLTYPE
◆ ap_add_error()
CT_ARGPARSE_API void ap_add_error |
( |
ap_t * |
self, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ ap_get_opt()
CT_ARGPARSE_API int ap_get_opt |
( |
scan_t * |
scan, |
|
|
const char * |
name, |
|
|
ap_field_t * |
param, |
|
|
char ** |
value |
|
) |
| |
◆ ap_on_bool()
◆ ap_on_int()
◆ ap_on_invalid()
CT_ARGPARSE_API void ap_on_invalid |
( |
scan_t * |
scan, |
|
|
char * |
value |
|
) |
| |
◆ ap_on_posarg()
CT_ARGPARSE_API void ap_on_posarg |
( |
scan_t * |
scan, |
|
|
char * |
value |
|
) |
| |
◆ ap_on_string()
CT_ARGPARSE_API void ap_on_string |
( |
scan_t * |
scan, |
|
|
cfg_field_t * |
param, |
|
|
char * |
value |
|
) |
| |
◆ ap_parse_common()
CT_ARGPARSE_API int ap_parse_common |
( |
ap_t * |
self, |
|
|
const char * |
text |
|
) |
| |