common/arglex.h File Reference
#include <common/main.h>
Go to the source code of this file.
|
Data Structures |
struct | arglex_table_ty |
struct | arglex_value_ty |
struct | arglex_dispatch_ty |
Defines |
#define | ARGLEX_END_MARKER { (const char *)0, 0, } |
Enumerations |
enum | {
ARGLEX_PREFETCH_FAIL = -99,
arglex_token_eoln = -20,
arglex_token_help,
arglex_token_number,
arglex_token_number_incomplete,
arglex_token_option,
arglex_token_option_incomplete,
arglex_token_page_length,
arglex_token_page_width,
arglex_token_stdio,
arglex_token_string,
arglex_token_string_incomplete,
arglex_token_trace,
arglex_token_version
} |
Functions |
void | arglex_init (int, char **, arglex_table_ty *) |
int | arglex (void) |
int | arglex_prefetch (int *, int) |
bool | arglex_compare (const char *formal, const char *actual, const char **partial) |
const char * | arglex_token_name (int) |
arglex_table_ty * | arglex_table_catenate (arglex_table_ty *, arglex_table_ty *) |
void | arglex_dispatch (arglex_dispatch_ty *table, int table_len, void(*usage)(void)) |
void | arglex_synthetic (int, char **, int) |
void | arglex_retable (arglex_table_ty *) |
int | arglex_get_string (void) |
Variables |
int | arglex_token |
arglex_value_ty | arglex_value |