1 #ifndef _ASTERISK_PVAL_H 2 #define _ASTERISK_PVAL_H 120 int option_matches_j(
struct argdesc *should,
pval *is,
struct argapp *
app);
121 int option_matches(
struct argdesc *should,
pval *is,
struct argapp *
app);
122 int ael_is_funcname(
char *
name);
pval * pvalCasePatDefWalkStatements(pval *p, pval **statement)
char * pvalSwitchGetTestexpr(pval *p)
void pvalContextUnsetAbstract(pval *p)
pval * pvalMacroWalkStatements(pval *p, pval **next_statement)
void pvalGotoSetTarget(pval *p, char *context, char *exten, char *label)
void pvalConditionalSetThenStatement(pval *p, pval *statement)
void pvalTopLevAddObject(pval *p, pval *contextOrObj)
char * pvalCasePatGetVal(pval *p)
void pvalForSetInit(pval *p, char *init)
void check_pval_item(pval *item, struct argapp *apps, int in_globals)
static char exten[AST_MAX_EXTENSION]
Main Channel structure associated with a channel.
void destroy_pval_item(pval *item)
void pvalAppCallAddArg(pval *p, pval *arg)
void check_switch_expr(pval *item, struct argapp *apps)
void pvalVarDecSetValue(pval *p, char *value)
void check_pval(pval *item, struct argapp *apps, int in_globals)
struct ael_priority * new_prio(void)
char * pvalMacroCallGetMacroName(pval *p)
void pvalExtenSetName(pval *p, char *name)
Registered applications container.
void pvalESwitchesAddSwitch(pval *p, char *name)
void pvalMacroAddArg(pval *p, pval *arg)
void pvalExtenUnSetRegexten(pval *p)
void pvalCasePatSetVal(pval *p, char *val)
char * pvalMacroGetName(pval *p)
void pvalLabelSetName(pval *p, char *name)
void pvalIfSetCondition(pval *p, char *expr)
void pvalExtenSetRegexten(pval *p)
void pvalMacroSetArglist(pval *p, pval *arglist)
void pvalContextSetName(pval *p, char *name)
char * pvalIncludesWalk(pval *p, pval **next_item)
void pvalWordSetString(pval *p, char *str)
void add_extensions(struct ael_extension *exten)
char * pvalAppCallGetAppName(pval *p)
char * pvalExtenGetHints(pval *p)
void pvalIncludeGetTimeConstraints(pval *p, char **hour_range, char **dom_range, char **dow_range, char **month_range)
static struct aco_type item
void pvalIgnorePatSetPattern(pval *p, char *pat)
void pvalAppCallSetAppName(pval *p, char *name)
int pvalContextGetAbstract(pval *p)
char * pvalLabelGetName(pval *p)
void pvalSwitchSetTestexpr(pval *p, char *expr)
struct ast_context * local_contexts
pval * pvalCreateNode(pvaltype type)
char * pvalVarDecGetValue(pval *p)
void pvalMacroCallAddArg(pval *p, pval *arg)
char * pvalForGetInc(pval *p)
int pvalExtenGetRegexten(pval *p)
struct ael_extension * new_exten(void)
void pvalGotoGetTarget(pval *p, char **context, char **exten, char **label)
void pvalForSetStatement(pval *p, pval *statement)
pval * pvalSwitchWalkCases(pval *p, pval **next_case)
char * pvalESwitchesWalkNames(pval *p, pval **next_item)
pval * pvalTopLevWalkObjects(pval *p, pval **next_obj)
char * pvalVarDecGetVarname(pval *p)
int do_pbx_load_module(void)
char * pvalIfGetCondition(pval *p)
void pvalConditionalSetElseStatement(pval *p, pval *statement)
char * pvalWordGetString(pval *p)
void pvalForSetTest(pval *p, char *test)
struct pval * goto_target
pval * pvalAppCallWalkArgs(pval *p, pval **args)
pvaltype pvalObjectGetType(pval *p)
static char next_item(const char *format)
void pvalVarDecSetVarname(pval *p, char *name)
pval * pvalConditionalGetElseStatement(pval *p)
pval * pvalConditionalGetThenStatement(pval *p)
void pvalIfTimeSetCondition(pval *p, char *hour_range, char *dow_range, char *dom_range, char *mon_range)
void pvalGlobalsAddStatement(pval *p, pval *statement)
void pvalSwitchesAddSwitch(pval *p, char *name)
int count_labels_in_current_context(char *label)
struct ael_extension * compiled_label
void ast_expr_clear_extra_error_info(void)
char * pvalRandomGetCondition(pval *p)
struct pval * else_statements
int ast_compile_ael2(struct ast_context **local_contexts, struct ast_hashtab *local_table, struct pval *root)
void pvalMacroSetName(pval *p, char *name)
void destroy_pval(pval *item)
char * pvalCatchGetExtName(pval *p)
static struct ast_hashtab * local_table
void pvalExtenSetStatement(pval *p, pval *statement)
char * pvalExtenGetName(pval *p)
pval * pvalMacroCallWalkArgs(pval *p, pval **args)
pval * pvalCatchGetStatement(pval *p)
void pvalIncludesAddIncludeWithTimeConstraints(pval *p, const char *include, char *hour_range, char *dom_range, char *dow_range, char *month_range)
void pvalContextSetAbstract(pval *p)
char * pvalIgnorePatGetPattern(pval *p)
void pvalRandomSetCondition(pval *p, char *percent)
char * pvalContextGetName(pval *p)
struct pval * find_context(char *name)
void pvalCatchSetStatement(pval *p, pval *statement)
void ast_expr_register_extra_error_info(char *errmsg)
pval * pvalGlobalsWalkStatements(pval *p, pval **next_statement)
char * pvalSwitchesWalkNames(pval *p, pval **next_item)
void destroy_extensions(struct ael_extension *exten)
void pvalStatementBlockAddStatement(pval *p, pval *statement)
void set_priorities(struct ael_extension *exten)
void pvalIncludesAddInclude(pval *p, const char *include)
int check_app_args(pval *appcall, pval *arglist, struct argapp *app)
pval * pvalMacroWalkArgs(pval *p, pval **arg)
void pvalCasePatDefAddStatement(pval *p, pval *statement)
void pvalMacroAddStatement(pval *p, pval *statement)
struct pval * find_macro(char *name)
pval * pvalStatementBlockWalkStatements(pval *p, pval **next_statement)
pval * pvalForGetStatement(pval *p)
void pvalSwitchAddCase(pval *p, pval *Case)
void pvalMacroCallSetArglist(pval *p, pval *arglist)
void pvalExtenSetHints(pval *p, char *hints)
int pvalCheckType(pval *p, char *funcname, pvaltype type)
void pvalAppCallSetArglist(pval *p, pval *arglist)
int ast_expr(char *expr, char *buf, int length, struct ast_channel *chan)
Evaluate the given expression.
static char context[AST_MAX_CONTEXT]
struct pval * for_statements
char * pvalForGetTest(pval *p)
void linkprio(struct ael_extension *exten, struct ael_priority *prio, struct ael_extension *mother_exten)
void pvalCatchSetExtName(pval *p, char *name)
pval * pvalExtenGetStatement(pval *p)
void pvalMacroCallSetMacroName(pval *p, char *name)
pval * pvalContextWalkStatements(pval *p, pval **statements)
void pvalForSetInc(pval *p, char *inc)
ast_context: An extension context - must remain in sync with fake_context
char * pvalForGetInit(pval *p)
struct pval * macro_statements
void pvalContextAddStatement(pval *p, pval *statement)
void pvalIfTimeGetCondition(pval *p, char **hour_range, char **dow_range, char **dom_range, char **month_range)