summaryrefslogtreecommitdiff
path: root/main/pbx_private.h
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2016-01-04 20:46:25 -0500
committerCorey Farrell <git@cfware.com>2016-01-04 20:46:25 -0500
commit3507494b8aa31a0813ab1a4413be301ae4bd1f40 (patch)
tree0f28af375da0c61d7bd8f2720117888b4c4f05a1 /main/pbx_private.h
parent54a8f1a396bb1866573b6c85bac34abcda18581f (diff)
main/pbx: Move dialplan application management routines to pbx_app.c.
This is the sixth patch in a series meant to reduce the bulk of pbx.c. This moves dialplan application management functions to their own source. Change-Id: I444c10fb90a3cdf9f3047605d6a8aad49c22c44c
Diffstat (limited to 'main/pbx_private.h')
-rw-r--r--main/pbx_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/pbx_private.h b/main/pbx_private.h
index 87abefafa..e09194188 100644
--- a/main/pbx_private.h
+++ b/main/pbx_private.h
@@ -28,6 +28,9 @@ int raise_exception(struct ast_channel *chan, const char *reason, int priority);
void wait_for_hangup(struct ast_channel *chan, const void *data);
void set_ext_pri(struct ast_channel *c, const char *exten, int pri);
+/*! pbx.c function needed by pbx_app.c */
+void unreference_cached_app(struct ast_app *app);
+
/*! pbx_builtins.c functions needed by pbx.c */
int indicate_congestion(struct ast_channel *, const char *);
int indicate_busy(struct ast_channel *, const char *);
@@ -35,6 +38,8 @@ int indicate_busy(struct ast_channel *, const char *);
/*! pbx_switch.c functions needed by pbx.c */
struct ast_switch *pbx_findswitch(const char *sw);
+/*! pbx_app.c functions needed by pbx.c */
+const char *app_name(struct ast_app *app);
#define VAR_BUF_SIZE 4096