| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 

Go to the source code of this file.
| Functions | |
| int | ast_expr (char *expr, char *buf, int length, struct ast_channel *chan) | 
| Evaluate the given expression. | |
| int | ast_str_expr (struct ast_str **str, ssize_t maxlen, struct ast_channel *chan, char *expr) | 
| Evaluate the given expression. | |
| 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.
References ast_copy_string(), AST_EXPR_number, ast_yy_scan_string(), ast_yylex_destroy(), ast_yylex_init(), ast_yyparse(), buf, parse_io::chan, FP___PRINTF, free(), and io.
Referenced by AST_TEST_DEFINE(), check_eval(), check_pval_item(), pbx_substitute_variables_helper_full(), and pbx_substitute_variables_helper_full_location().
| int ast_str_expr | ( | struct ast_str ** | str, | 
| ssize_t | maxlen, | ||
| struct ast_channel * | chan, | ||
| char * | expr | ||
| ) | 
Evaluate the given expression.
| str | Dynamic result buffer | 
| maxlen | <0 if the size of the buffer should remain constant, >0 if the size of the buffer should expand to that many bytes, maximum, or 0 for unlimited expansion of the result buffer | 
| chan | Channel to use for evaluating included dialplan functions, if any | 
| expr | An expression | 
Definition at line 2433 of file ast_expr2f.c.
References AST_EXPR_number, ast_str_set(), ast_str_strlen(), ast_yy_scan_string(), ast_yylex_destroy(), ast_yylex_init(), ast_yyparse(), parse_io::chan, FP___PRINTF, free(), io, and str.
Referenced by ast_str_substitute_variables_full2().