diff options
author | Corey Farrell <git@cfware.com> | 2016-01-04 20:46:25 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-01-05 12:09:38 -0500 |
commit | ab191d124c5f1ac085c6c1e53a9983f879f194e5 (patch) | |
tree | 8491294e80061f23c4a3186d563f992cd1d82cad /main/pbx_private.h | |
parent | 09a9b93896a4a027528d98d0447c8e9175fb80ff (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.h | 5 |
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 |