aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authoranthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-05 15:07:49 +0000
committeranthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-05 15:07:49 +0000
commitd4dd060a57c6b29d509f5a921617abf28858c510 (patch)
tree900b49271b8197254a3641049785b9e956048843 /pbx.c
parent69bfd8b964aff8f4c7a298cb47b658d00d5f3b36 (diff)
expose function execution routines and warn about trying to set a read-only cdr var
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5589 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pbx.c b/pbx.c
index 7f6cc176e..0f62e5814 100755
--- a/pbx.c
+++ b/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;