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
This commit is contained in:
Corey Farrell
2016-01-04 19:20:35 -05:00
parent c3c8b8e41d
commit 54a8f1a396
5 changed files with 143 additions and 80 deletions

View File

@@ -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 */