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