Asterisk - The Open Source Telephony Project GIT-master-d856a3e
|
Go to the source code of this file.
Data Structures | |
struct | argapp |
struct | pval |
Typedefs | |
typedef struct pval | pval |
Enumerations | |
enum | pvaltype { PV_WORD , PV_MACRO , PV_CONTEXT , PV_MACRO_CALL , PV_APPLICATION_CALL , PV_CASE , PV_PATTERN , PV_DEFAULT , PV_CATCH , PV_SWITCHES , PV_ESWITCHES , PV_INCLUDES , PV_STATEMENTBLOCK , PV_VARDEC , PV_GOTO , PV_LABEL , PV_FOR , PV_WHILE , PV_BREAK , PV_RETURN , PV_CONTINUE , PV_IF , PV_IFTIME , PV_RANDOM , PV_SWITCH , PV_EXTENSION , PV_IGNOREPAT , PV_GLOBALS , PV_LOCALVARDEC } |
enum pvaltype |
Definition at line 6 of file pval.h.
void add_extensions | ( | struct ael_extension * | exten | ) |
Definition at line 4213 of file pval.c.
References AEL_APPCALL, AEL_CONTROL1, AEL_FOR_CONTROL, AEL_IF_CONTROL, AEL_IFTIME_CONTROL, AEL_LABEL, AEL_RAND_CONTROL, AEL_RETURN, app, ael_priority::app, ael_priority::appargs, ast_add_extension2(), ast_free_ptr(), ast_log, AST_MAX_EXTENSION, ael_extension::cidmatch, ael_extension::context, pval::else_statements, ael_priority::exten, ael_priority::goto_false, ael_priority::goto_true, ael_extension::hints, last, LOG_WARNING, ael_extension::name, ael_priority::next, ael_extension::next_exten, NULL, ael_priority::origin, pbx_substitute_variables_helper(), ael_extension::plist, PRIORITY_HINT, ael_priority::priority_num, PV_IFTIME, PV_SWITCH, registrar, strdup, ael_priority::type, pval::type, and pval::u3.
int ast_compile_ael2 | ( | struct ast_context ** | local_contexts, |
struct ast_hashtab * | local_table, | ||
struct pval * | root | ||
) |
Definition at line 4413 of file pval.c.
References add_extensions(), AEL_APPCALL, AEL_LABEL, app, ael_priority::app, ael_priority::appargs, pval::arglist, ARRAY_LEN, ast_context_add_ignorepat2(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_find_or_create(), ast_custom_function_find(), ast_get_context_name(), attach_exten(), buf, buf2, c, ael_extension::cidmatch, voicemailpwcheck::context, ael_extension::context, context_used(), control_statement_count, destroy_extensions(), ael_priority::exten, fix_gotos_in_extensions(), gen_prios(), ael_extension::hints, pval::hints, linkprio(), pval::list, local_contexts, local_table, pval::macro_statements, ael_extension::name, new_exten(), new_prio(), pval::next, ael_extension::next_exten, NULL, ael_priority::origin, pbx_builtin_setvar(), ael_extension::plist_last, priority, ael_priority::priority_num, PV_CONTEXT, PV_ESWITCHES, PV_EXTENSION, PV_GLOBALS, PV_IGNOREPAT, PV_INCLUDES, PV_MACRO, PV_SWITCHES, ael_extension::regexten, pval::regexten, registrar, remove_spaces_before_equals(), ael_extension::return_needed, set_priorities(), pval::statements, pval::str, strdup, ael_priority::type, pval::type, pval::u1, pval::u2, pval::u3, pval::u4, and pval::val.
int ast_expr | ( | char * | expr, |
char * | buf, | ||
int | length, | ||
struct ast_channel * | chan | ||
) |
Evaluate the given expression.
expr | An expression |
buf | Result buffer |
length | Size of the result buffer, in bytes |
chan | Channel to use for evaluating included dialplan functions, if any |
Definition at line 2391 of file ast_expr2f.c.
void ast_expr_clear_extra_error_info | ( | void | ) |
Definition at line 2469 of file ast_expr2f.c.
References extra_error_message, and extra_error_message_supplied.
Referenced by check_pval_item().
void ast_expr_register_extra_error_info | ( | char * | errmsg | ) |
Definition at line 2463 of file ast_expr2f.c.
References extra_error_message, and extra_error_message_supplied.
Referenced by check_pval_item().
Definition at line 2130 of file pval.c.
References app, ast_log, pval::endline, pval::filename, LOG_WARNING, pval::next, pval::startline, pval::str, pval::u1, and warns.
Definition at line 2865 of file pval.c.
References check_pval_item(), item, and pval::next.
Definition at line 2357 of file pval.c.
References app, pval::arglist, ast_expr(), ast_expr_clear_extra_error_info(), ast_expr_register_extra_error_info(), ast_log, check_abstract_reference(), check_app_args(), check_break(), check_continue(), check_day(), check_dow(), check_expr2_input(), check_goto(), check_includes(), check_label(), check_macro_returns(), check_month(), check_pval(), check_switch_expr(), check_timerange(), current_context, current_extension, E_MATCH, errs, expr_output, find_context(), find_macro(), find_pval_gotos(), free(), in_abstract_context, item, localized_pbx_load_module(), LOG_ERROR, LOG_WARNING, pval::next, NULL, pbx_find_extension(), PV_APPLICATION_CALL, PV_BREAK, PV_CASE, PV_CATCH, PV_CONTEXT, PV_CONTINUE, PV_DEFAULT, PV_ESWITCHES, PV_EXTENSION, PV_FOR, PV_GLOBALS, PV_GOTO, PV_IF, PV_IFTIME, PV_IGNOREPAT, PV_INCLUDES, PV_LABEL, PV_LOCALVARDEC, PV_MACRO, PV_MACRO_CALL, PV_PATTERN, PV_RANDOM, PV_RETURN, PV_STATEMENTBLOCK, PV_SWITCH, PV_SWITCHES, PV_VARDEC, PV_WHILE, PV_WORD, pbx_find_info::stacklen, pval::statements, pbx_find_info::status, STATUS_SUCCESS, pval::str, aco_type::type, pval::type, pval::u1, pval::u2, and warns.
Definition at line 2184 of file pval.c.
References a, ast_log, ast_strdupa, c, calloc, current_extension, pval::endcol, pval::endline, pval::filename, item, LOG_WARNING, test_val::name, pval::next, argapp::next, test_val::next, PV_APPLICATION_CALL, PV_CASE, PV_DEFAULT, PV_PATTERN, PV_STATEMENTBLOCK, pval::startcol, pval::startline, pval::statements, pval::str, strdup, pval::type, pval::u1, pval::u2, and warns.
int count_labels_in_current_context | ( | char * | label | ) |
void destroy_extensions | ( | struct ael_extension * | exten | ) |
Definition at line 2978 of file pval.c.
References ael_priority::app, ael_priority::appargs, free(), ael_priority::goto_false, ael_priority::goto_true, ael_extension::hints, ael_extension::loop_break, ael_extension::loop_continue, ael_extension::name, ael_priority::next, ael_extension::next_exten, ael_priority::origin, ael_extension::plist, and ael_extension::plist_last.
void destroy_pval | ( | pval * | item | ) |
void destroy_pval_item | ( | pval * | item | ) |
Definition at line 4672 of file pval.c.
References ast_log, destroy_pval(), free(), item, LOG_WARNING, NULL, PV_APPLICATION_CALL, PV_BREAK, PV_CASE, PV_CATCH, PV_CONTEXT, PV_CONTINUE, PV_DEFAULT, PV_ESWITCHES, PV_EXTENSION, PV_FOR, PV_GLOBALS, PV_GOTO, PV_IF, PV_IFTIME, PV_IGNOREPAT, PV_INCLUDES, PV_LABEL, PV_LOCALVARDEC, PV_MACRO, PV_MACRO_CALL, PV_PATTERN, PV_RANDOM, PV_RETURN, PV_STATEMENTBLOCK, PV_SWITCH, PV_SWITCHES, PV_VARDEC, PV_WHILE, PV_WORD, and aco_type::type.
int do_pbx_load_module | ( | void | ) |
struct pval * find_context | ( | char * | name | ) |
Definition at line 1953 of file pval.c.
References count_labels, current_db, match_context, match_exten, match_label, match_pval(), name, and return_on_context_match.
struct pval * find_macro | ( | char * | name | ) |
Definition at line 1943 of file pval.c.
References count_labels, current_db, match_context, match_exten, match_label, match_pval(), name, and return_on_context_match.
Referenced by check_pval_item().
int is_empty | ( | char * | arg | ) |
int is_float | ( | char * | arg | ) |
int is_int | ( | char * | arg | ) |
void linkprio | ( | struct ael_extension * | exten, |
struct ael_priority * | prio, | ||
struct ael_extension * | mother_exten | ||
) |
Definition at line 2936 of file pval.c.
References ael_priority::appargs, ael_priority::exten, free(), ael_extension::has_switch, malloc(), ael_priority::next, ael_extension::plist, and ael_extension::plist_last.
Referenced by ast_compile_ael2(), and gen_prios().
struct ael_extension * new_exten | ( | void | ) |
struct ael_priority * new_prio | ( | void | ) |
Definition at line 5268 of file pval.c.
References pval::arglist, linku1(), PV_APPLICATION_CALL, pvalCheckType(), and pval::u2.
char * pvalAppCallGetAppName | ( | pval * | p | ) |
Definition at line 5254 of file pval.c.
References PV_APPLICATION_CALL, pvalCheckType(), pval::str, and pval::u1.
void pvalAppCallSetAppName | ( | pval * | p, |
char * | name | ||
) |
Definition at line 5247 of file pval.c.
References name, PV_APPLICATION_CALL, pvalCheckType(), pval::str, and pval::u1.
Definition at line 5261 of file pval.c.
References pval::arglist, PV_APPLICATION_CALL, pvalCheckType(), and pval::u2.
Definition at line 5278 of file pval.c.
References pval::arglist, args, PV_APPLICATION_CALL, pvalCheckType(), and pval::u2.
Definition at line 5303 of file pval.c.
References pval::arglist, linku1(), pval::statements, and pval::u2.
Definition at line 5311 of file pval.c.
References pval::next, pval::statements, and pval::u2.
char * pvalCasePatGetVal | ( | pval * | p | ) |
void pvalCasePatSetVal | ( | pval * | p, |
char * | val | ||
) |
Definition at line 5291 of file pval.c.
References PV_APPLICATION_CALL, pvalCheckType(), pval::str, and pval::u1.
char * pvalCatchGetExtName | ( | pval * | p | ) |
Definition at line 5343 of file pval.c.
References PV_CATCH, pvalCheckType(), pval::statements, and pval::u2.
void pvalCatchSetExtName | ( | pval * | p, |
char * | name | ||
) |
Definition at line 5336 of file pval.c.
References PV_CATCH, pvalCheckType(), pval::statements, and pval::u2.
Definition at line 5031 of file pval.c.
References ast_log, LOG_ERROR, type, and pval::type.
Referenced by pvalAppCallAddArg(), pvalAppCallGetAppName(), pvalAppCallSetAppName(), pvalAppCallSetArglist(), pvalAppCallWalkArgs(), pvalCasePatSetVal(), pvalCatchGetExtName(), pvalCatchGetStatement(), pvalCatchSetExtName(), pvalCatchSetStatement(), pvalContextAddStatement(), pvalContextGetAbstract(), pvalContextGetName(), pvalContextSetAbstract(), pvalContextSetName(), pvalContextUnsetAbstract(), pvalContextWalkStatements(), pvalESwitchesAddSwitch(), pvalESwitchesWalkNames(), pvalExtenGetHints(), pvalExtenGetName(), pvalExtenGetRegexten(), pvalExtenGetStatement(), pvalExtenSetHints(), pvalExtenSetName(), pvalExtenSetRegexten(), pvalExtenSetStatement(), pvalExtenUnSetRegexten(), pvalForGetInc(), pvalForGetInit(), pvalForGetStatement(), pvalForGetTest(), pvalForSetInc(), pvalForSetInit(), pvalForSetStatement(), pvalForSetTest(), pvalGlobalsWalkStatements(), pvalGotoGetTarget(), pvalGotoSetTarget(), pvalIfGetCondition(), pvalIfSetCondition(), pvalIfTimeGetCondition(), pvalIfTimeSetCondition(), pvalIgnorePatGetPattern(), pvalIgnorePatSetPattern(), pvalIncludeGetTimeConstraints(), pvalIncludesAddInclude(), pvalIncludesAddIncludeWithTimeConstraints(), pvalIncludesWalk(), pvalLabelGetName(), pvalLabelSetName(), pvalMacroAddArg(), pvalMacroAddStatement(), pvalMacroCallAddArg(), pvalMacroCallGetMacroName(), pvalMacroCallSetArglist(), pvalMacroCallSetMacroName(), pvalMacroCallWalkArgs(), pvalMacroGetName(), pvalMacroSetArglist(), pvalMacroSetName(), pvalMacroWalkArgs(), pvalMacroWalkStatements(), pvalRandomGetCondition(), pvalRandomSetCondition(), pvalStatementBlockAddStatement(), pvalStatementBlockWalkStatements(), pvalSwitchAddCase(), pvalSwitchesAddSwitch(), pvalSwitchesWalkNames(), pvalSwitchGetTestexpr(), pvalSwitchSetTestexpr(), pvalSwitchWalkCases(), pvalVarDecGetValue(), pvalVarDecGetVarname(), pvalVarDecSetValue(), pvalVarDecSetVarname(), pvalWordGetString(), and pvalWordSetString().
Definition at line 5751 of file pval.c.
References pval::else_statements, and pval::u3.
Definition at line 5746 of file pval.c.
References pval::statements, and pval::u2.
Definition at line 5741 of file pval.c.
References pval::else_statements, and pval::u3.
Definition at line 5736 of file pval.c.
References pval::statements, and pval::u2.
Definition at line 5180 of file pval.c.
References linku1(), PV_CONTEXT, pvalCheckType(), pval::statements, and pval::u2.
int pvalContextGetAbstract | ( | pval * | p | ) |
Definition at line 5171 of file pval.c.
References pval::abstract, PV_CONTEXT, pvalCheckType(), and pval::u3.
char * pvalContextGetName | ( | pval * | p | ) |
Definition at line 5150 of file pval.c.
References PV_CONTEXT, pvalCheckType(), pval::str, and pval::u1.
void pvalContextSetAbstract | ( | pval * | p | ) |
Definition at line 5157 of file pval.c.
References pval::abstract, PV_CONTEXT, pvalCheckType(), and pval::u3.
void pvalContextSetName | ( | pval * | p, |
char * | name | ||
) |
Definition at line 5143 of file pval.c.
References name, PV_CONTEXT, pvalCheckType(), pval::str, and pval::u1.
void pvalContextUnsetAbstract | ( | pval * | p | ) |
Definition at line 5164 of file pval.c.
References pval::abstract, PV_CONTEXT, pvalCheckType(), and pval::u3.
Definition at line 5190 of file pval.c.
References pval::next, PV_CONTEXT, pvalCheckType(), pval::statements, and pval::u2.
Definition at line 5042 of file pval.c.
References calloc, type, and pval::type.
Referenced by pvalESwitchesAddSwitch(), pvalGotoSetTarget(), pvalIfTimeSetCondition(), pvalIncludesAddInclude(), pvalIncludesAddIncludeWithTimeConstraints(), and pvalSwitchesAddSwitch().
void pvalESwitchesAddSwitch | ( | pval * | p, |
char * | name | ||
) |
Definition at line 5373 of file pval.c.
References linku1(), pval::list, name, PV_ESWITCHES, PV_WORD, pvalCheckType(), pvalCreateNode(), pval::str, and pval::u1.
Definition at line 5383 of file pval.c.
References pval::list, next_item(), PV_ESWITCHES, pvalCheckType(), and pval::u1.
char * pvalExtenGetHints | ( | pval * | p | ) |
Definition at line 5837 of file pval.c.
References pval::hints, PV_EXTENSION, pvalCheckType(), and pval::u3.
char * pvalExtenGetName | ( | pval * | p | ) |
Definition at line 5802 of file pval.c.
References PV_EXTENSION, pvalCheckType(), pval::str, and pval::u1.
int pvalExtenGetRegexten | ( | pval * | p | ) |
Definition at line 5823 of file pval.c.
References PV_EXTENSION, pvalCheckType(), pval::regexten, and pval::u4.
Definition at line 5851 of file pval.c.
References PV_EXTENSION, pvalCheckType(), pval::statements, and pval::u2.
void pvalExtenSetHints | ( | pval * | p, |
char * | hints | ||
) |
Definition at line 5830 of file pval.c.
References pval::hints, hints, PV_EXTENSION, pvalCheckType(), and pval::u3.
void pvalExtenSetName | ( | pval * | p, |
char * | name | ||
) |
Definition at line 5795 of file pval.c.
References name, PV_EXTENSION, pvalCheckType(), pval::str, and pval::u1.
void pvalExtenSetRegexten | ( | pval * | p | ) |
Definition at line 5809 of file pval.c.
References PV_EXTENSION, pvalCheckType(), pval::regexten, and pval::u4.
Definition at line 5844 of file pval.c.
References PV_EXTENSION, pvalCheckType(), pval::statements, and pval::u2.
void pvalExtenUnSetRegexten | ( | pval * | p | ) |
Definition at line 5816 of file pval.c.
References PV_EXTENSION, pvalCheckType(), pval::regexten, and pval::u4.
char * pvalForGetInc | ( | pval * | p | ) |
Definition at line 5647 of file pval.c.
References pval::for_inc, PV_FOR, pvalCheckType(), and pval::u3.
char * pvalForGetInit | ( | pval * | p | ) |
Definition at line 5633 of file pval.c.
References pval::for_init, PV_FOR, pvalCheckType(), and pval::u1.
Definition at line 5654 of file pval.c.
References pval::for_statements, PV_FOR, pvalCheckType(), and pval::u4.
char * pvalForGetTest | ( | pval * | p | ) |
Definition at line 5640 of file pval.c.
References pval::for_test, PV_FOR, pvalCheckType(), and pval::u2.
void pvalForSetInc | ( | pval * | p, |
char * | inc | ||
) |
Definition at line 5619 of file pval.c.
References pval::for_inc, PV_FOR, pvalCheckType(), and pval::u3.
void pvalForSetInit | ( | pval * | p, |
char * | init | ||
) |
Definition at line 5605 of file pval.c.
References pval::for_init, PV_FOR, pvalCheckType(), and pval::u1.
Definition at line 5626 of file pval.c.
References pval::for_statements, PV_FOR, pvalCheckType(), and pval::u4.
void pvalForSetTest | ( | pval * | p, |
char * | test | ||
) |
Definition at line 5612 of file pval.c.
References pval::for_test, PV_FOR, pvalCheckType(), and pval::u2.
Definition at line 5874 of file pval.c.
References ast_log, linku1(), LOG_ERROR, PV_GLOBALS, pval::statements, pval::type, and pval::u1.
Definition at line 5887 of file pval.c.
References pval::next, PV_GLOBALS, and pvalCheckType().
void pvalGotoGetTarget | ( | pval * | p, |
char ** | context, | ||
char ** | exten, | ||
char ** | label | ||
) |
Definition at line 5563 of file pval.c.
References voicemailpwcheck::context, pval::list, pval::next, PV_GOTO, pvalCheckType(), pval::str, and pval::u1.
void pvalGotoSetTarget | ( | pval * | p, |
char * | context, | ||
char * | exten, | ||
char * | label | ||
) |
Definition at line 5527 of file pval.c.
References voicemailpwcheck::context, ext, pval::list, pval::next, PV_GOTO, PV_WORD, pvalCheckType(), pvalCreateNode(), pval::str, and pval::u1.
char * pvalIfGetCondition | ( | pval * | p | ) |
void pvalIfSetCondition | ( | pval * | p, |
char * | expr | ||
) |
void pvalIfTimeGetCondition | ( | pval * | p, |
char ** | hour_range, | ||
char ** | dow_range, | ||
char ** | dom_range, | ||
char ** | month_range | ||
) |
Definition at line 5712 of file pval.c.
References pval::list, pval::next, PV_IFTIME, pvalCheckType(), pval::str, and pval::u1.
void pvalIfTimeSetCondition | ( | pval * | p, |
char * | hour_range, | ||
char * | dow_range, | ||
char * | dom_range, | ||
char * | mon_range | ||
) |
Definition at line 5677 of file pval.c.
References destroy_pval(), pval::list, pval::next, PV_IFTIME, PV_WORD, pvalCheckType(), pvalCreateNode(), pvalWordSetString(), and pval::u1.
char * pvalIgnorePatGetPattern | ( | pval * | p | ) |
Definition at line 5866 of file pval.c.
References PV_IGNOREPAT, pvalCheckType(), pval::str, and pval::u1.
void pvalIgnorePatSetPattern | ( | pval * | p, |
char * | pat | ||
) |
Definition at line 5859 of file pval.c.
References PV_IGNOREPAT, pvalCheckType(), pval::str, and pval::u1.
void pvalIncludeGetTimeConstraints | ( | pval * | p, |
char ** | hour_range, | ||
char ** | dom_range, | ||
char ** | dow_range, | ||
char ** | month_range | ||
) |
Definition at line 5450 of file pval.c.
References pval::arglist, pval::next, PV_WORD, pvalCheckType(), pval::str, pval::u1, and pval::u2.
void pvalIncludesAddInclude | ( | pval * | p, |
const char * | include | ||
) |
Definition at line 5396 of file pval.c.
References linku1(), pval::list, PV_INCLUDES, PV_WORD, pvalCheckType(), pvalCreateNode(), pval::str, and pval::u1.
void pvalIncludesAddIncludeWithTimeConstraints | ( | pval * | p, |
const char * | include, | ||
char * | hour_range, | ||
char * | dom_range, | ||
char * | dow_range, | ||
char * | month_range | ||
) |
Definition at line 5407 of file pval.c.
References pval::arglist, destroy_pval(), linku1(), pval::list, pval::next, PV_INCLUDES, PV_WORD, pvalCheckType(), pvalCreateNode(), pval::str, pval::u1, and pval::u2.
Definition at line 5467 of file pval.c.
References pval::list, next_item(), PV_INCLUDES, pvalCheckType(), and pval::u1.
char * pvalLabelGetName | ( | pval * | p | ) |
void pvalLabelSetName | ( | pval * | p, |
char * | name | ||
) |
Definition at line 5117 of file pval.c.
References linku1(), pval::macro_statements, PV_MACRO, pvalCheckType(), and pval::u3.
Definition at line 5224 of file pval.c.
References pval::arglist, linku1(), PV_MACRO_CALL, pvalCheckType(), and pval::u2.
char * pvalMacroCallGetMacroName | ( | pval * | p | ) |
Definition at line 5210 of file pval.c.
References PV_MACRO_CALL, pvalCheckType(), pval::str, and pval::u1.
Definition at line 5217 of file pval.c.
References pval::arglist, PV_MACRO_CALL, pvalCheckType(), and pval::u2.
void pvalMacroCallSetMacroName | ( | pval * | p, |
char * | name | ||
) |
Definition at line 5203 of file pval.c.
References name, PV_MACRO_CALL, pvalCheckType(), pval::str, and pval::u1.
Definition at line 5234 of file pval.c.
References pval::arglist, args, PV_MACRO_CALL, pvalCheckType(), and pval::u2.
char * pvalMacroGetName | ( | pval * | p | ) |
Definition at line 5087 of file pval.c.
References pval::arglist, PV_MACRO, pvalCheckType(), and pval::u2.
void pvalMacroSetName | ( | pval * | p, |
char * | name | ||
) |
Definition at line 5105 of file pval.c.
References pval::arglist, pval::next, PV_MACRO, pvalCheckType(), and pval::u2.
Definition at line 5129 of file pval.c.
References pval::macro_statements, pval::next, PV_MACRO, pvalCheckType(), and pval::u3.
char * pvalRandomGetCondition | ( | pval * | p | ) |
void pvalRandomSetCondition | ( | pval * | p, |
char * | percent | ||
) |
Definition at line 5480 of file pval.c.
References linku1(), pval::list, PV_STATEMENTBLOCK, pvalCheckType(), and pval::u1.
Definition at line 5487 of file pval.c.
References pval::list, pval::next, PV_STATEMENTBLOCK, pvalCheckType(), and pval::u1.
Definition at line 5770 of file pval.c.
References linku1(), PV_CASE, PV_SWITCH, pvalCheckType(), pval::statements, and pval::u2.
void pvalSwitchesAddSwitch | ( | pval * | p, |
char * | name | ||
) |
Definition at line 5351 of file pval.c.
References linku1(), pval::list, name, PV_SWITCHES, PV_WORD, pvalCheckType(), pvalCreateNode(), pval::str, and pval::u1.
Definition at line 5361 of file pval.c.
References pval::list, next_item(), PV_SWITCHES, pvalCheckType(), and pval::u1.
char * pvalSwitchGetTestexpr | ( | pval * | p | ) |
void pvalSwitchSetTestexpr | ( | pval * | p, |
char * | expr | ||
) |
Definition at line 5782 of file pval.c.
References pval::next, PV_SWITCH, pvalCheckType(), pval::statements, and pval::u2.
Definition at line 5910 of file pval.c.
References pval::next.
char * pvalVarDecGetValue | ( | pval * | p | ) |
char * pvalVarDecGetVarname | ( | pval * | p | ) |
void pvalVarDecSetValue | ( | pval * | p, |
char * | value | ||
) |
void pvalVarDecSetVarname | ( | pval * | p, |
char * | name | ||
) |
char * pvalWordGetString | ( | pval * | p | ) |
void pvalWordSetString | ( | pval * | p, |
char * | str | ||
) |
Definition at line 5058 of file pval.c.
References PV_WORD, pvalCheckType(), str, pval::str, and pval::u1.
Referenced by pvalIfTimeSetCondition().
void set_priorities | ( | struct ael_extension * | exten | ) |
Definition at line 4187 of file pval.c.
References ael_priority::exten, ael_extension::is_switch, ael_priority::next, ael_extension::next_exten, ael_priority::origin, ael_extension::plist, ael_priority::priority_num, PV_LABEL, ael_extension::regexten, and pval::type.