Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Structures for AEL - the Asterisk extension language. More...
Go to the source code of this file.
Data Structures | |
struct | ael_extension |
struct | ael_priority |
struct | parse_io |
Macros | |
#define | QUAD_MAX (0x7fffffffffffffffLL) |
#define | QUAD_MIN (-0x7fffffffffffffffLL-1) |
#define | YY_TYPEDEF_YY_SCANNER_T |
Typedefs | |
typedef void * | yyscan_t |
Enumerations | |
enum | ael_priority_type { AEL_APPCALL , AEL_CONTROL1 , AEL_FOR_CONTROL , AEL_IF_CONTROL , AEL_IFTIME_CONTROL , AEL_RAND_CONTROL , AEL_LABEL , AEL_RETURN } |
Functions | |
struct pval * | ael2_parse (char *fname, int *errs) |
void | ael2_print (char *fname, pval *tree) |
void | ael2_semantic_check (pval *item, int *errs, int *warns, int *notes) |
void | destroy_pval (pval *item) |
pval * | linku1 (pval *head, pval *tail) |
pval * | npval (pvaltype type, int first_line, int last_line, int first_column, int last_column) |
Variables | |
char * | prev_word |
Structures for AEL - the Asterisk extension language.
Definition in file ael_structs.h.
#define QUAD_MAX (0x7fffffffffffffffLL) |
Definition at line 54 of file ael_structs.h.
#define QUAD_MIN (-0x7fffffffffffffffLL-1) |
Definition at line 51 of file ael_structs.h.
#define YY_TYPEDEF_YY_SCANNER_T |
Definition at line 70 of file ael_structs.h.
typedef void* yyscan_t |
Definition at line 71 of file ael_structs.h.
enum ael_priority_type |
Enumerator | |
---|---|
AEL_APPCALL | |
AEL_CONTROL1 | |
AEL_FOR_CONTROL | |
AEL_IF_CONTROL | |
AEL_IFTIME_CONTROL | |
AEL_RAND_CONTROL | |
AEL_LABEL | |
AEL_RETURN |
Definition at line 84 of file ael_structs.h.
struct pval * ael2_parse | ( | char * | fname, |
int * | errs | ||
) |
Definition at line 3344 of file ael_lex.c.
References ael_yy_scan_string(), ael_yylex_destroy(), ael_yylex_init(), ael_yyparse(), ael_yyset_lineno(), ast_log, calloc, errno, free(), include_stack_index, io, LOG_ERROR, LOG_WARNING, malloc(), my_col, my_file, my_lineno, prev_word, and strdup.
Referenced by pbx_load_module().
void ael2_print | ( | char * | fname, |
pval * | tree | ||
) |
Definition at line 382 of file pval.c.
References ast_log, LOG_ERROR, and print_pval_list().
void ael2_semantic_check | ( | pval * | item, |
int * | errs, | ||
int * | warns, | ||
int * | notes | ||
) |
Definition at line 2885 of file pval.c.
References ast_alloca, ast_config_AST_VAR_DIR, check_context_names(), check_pval(), current_db, errs, item, notes, and warns.
Referenced by pbx_load_module().
void destroy_pval | ( | pval * | item | ) |
Definition at line 4940 of file pval.c.
References destroy_pval_item(), item, and pval::next.
Referenced by yydestruct(), and yyparse().
Definition at line 5922 of file pval.c.
References pval::next, pval::prev, and pval::u1_last.
struct pval * npval | ( | pvaltype | type, |
int | first_line, | ||
int | last_line, | ||
int | first_column, | ||
int | last_column | ||
) |
Definition at line 3965 of file ael.tab.c.
References calloc, pval::endcol, pval::endline, pval::filename, my_file, S_OR, pval::startcol, pval::startline, strdup, type, and pval::type.
|
extern |
Definition at line 878 of file ael_lex.c.
Referenced by ael2_parse(), c_prevword(), while(), yydestruct(), and yyparse().