mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-06 18:13:45 +00:00
expose function execution routines and warn about trying to set a read-only cdr var
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
pbx.c
4
pbx.c
@@ -207,8 +207,6 @@ static int pbx_builtin_saycharacters(struct ast_channel *, void *);
|
||||
static int pbx_builtin_sayphonetic(struct ast_channel *, void *);
|
||||
int pbx_builtin_setvar(struct ast_channel *, void *);
|
||||
static int pbx_builtin_importvar(struct ast_channel *, void *);
|
||||
static char *ast_func_read(struct ast_channel *chan, const char *in, char *workspace, size_t len);
|
||||
static void ast_func_write(struct ast_channel *chan, const char *in, const char *value);
|
||||
|
||||
static struct varshead globals;
|
||||
|
||||
@@ -1313,7 +1311,7 @@ char *ast_func_read(struct ast_channel *chan, const char *in, char *workspace, s
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void ast_func_write(struct ast_channel *chan, const char *in, const char *value)
|
||||
void ast_func_write(struct ast_channel *chan, const char *in, const char *value)
|
||||
{
|
||||
char *args = NULL, *function, *p;
|
||||
struct ast_custom_function *acfptr;
|
||||
|
||||
Reference in New Issue
Block a user