YY_BUFFER_STATE ast_yy_scan_string(yyconst char *yy_str, yyscan_t yyscanner)
Definition: main/ast_expr2f.c:1960
Asterisk - The Open Source Telephony Project
21.4.1
|
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. More... | |
int | ast_str_expr (struct ast_str **str, ssize_t maxlen, struct ast_channel *chan, char *expr) |
Evaluate the given expression. More... | |
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 main/ast_expr2f.c.
Referenced by 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 main/ast_expr2f.c.
References ast_str_set(), ast_str_strlen(), and ast_yy_scan_string().
Referenced by ast_str_substitute_variables_full2().