summaryrefslogtreecommitdiff
path: root/main/pbx_private.h
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2016-01-04 19:20:35 -0500
committerCorey Farrell <git@cfware.com>2016-01-04 19:20:35 -0500
commit54a8f1a396bb1866573b6c85bac34abcda18581f (patch)
tree4df349d8f956658109a5e45f9648b00aee3d74a3 /main/pbx_private.h
parentc3c8b8e41dac290cbfbecb3e4a6dfde2d57d4e35 (diff)
main/pbx: Move switch routines to pbx_switch.c.
This is the fifth patch in a series meant to reduce the bulk of pbx.c. This moves ast_switch functions to their own source. Change-Id: Ic2592a18a5c4d8a3c2dcf9786c9a6f650a8c628e
Diffstat (limited to 'main/pbx_private.h')
-rw-r--r--main/pbx_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/pbx_private.h b/main/pbx_private.h
index e1711796c..87abefafa 100644
--- a/main/pbx_private.h
+++ b/main/pbx_private.h
@@ -32,6 +32,10 @@ void set_ext_pri(struct ast_channel *c, const char *exten, int pri);
int indicate_congestion(struct ast_channel *, const char *);
int indicate_busy(struct ast_channel *, const char *);
+/*! pbx_switch.c functions needed by pbx.c */
+struct ast_switch *pbx_findswitch(const char *sw);
+
+
#define VAR_BUF_SIZE 4096
#endif /* _PBX_PRIVATE_H */