pbx_private.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Asterisk -- An open source telephony toolkit.
  3. *
  4. * Copyright (C) 2015 Fairview 5 Engineering, LLC
  5. *
  6. * George Joseph <george.joseph@fairview5.com>
  7. *
  8. * See http://www.asterisk.org for more information about
  9. * the Asterisk project. Please do not directly contact
  10. * any of the maintainers of this project for assistance;
  11. * the project provides a web site, mailing lists and IRC
  12. * channels for your use.
  13. *
  14. * This program is free software, distributed under the terms of
  15. * the GNU General Public License Version 2. See the LICENSE file
  16. * at the top of the source tree.
  17. */
  18. /*! \file
  19. * \brief Private include file for pbx
  20. */
  21. #ifndef _PBX_PRIVATE_H
  22. #define _PBX_PRIVATE_H
  23. /*! pbx.c functions needed by pbx_builtins.c */
  24. int raise_exception(struct ast_channel *chan, const char *reason, int priority);
  25. void wait_for_hangup(struct ast_channel *chan, const void *data);
  26. void set_ext_pri(struct ast_channel *c, const char *exten, int pri);
  27. /*! pbx.c function needed by pbx_app.c */
  28. void unreference_cached_app(struct ast_app *app);
  29. /*! pbx_builtins.c functions needed by pbx.c */
  30. int indicate_congestion(struct ast_channel *, const char *);
  31. int indicate_busy(struct ast_channel *, const char *);
  32. /*! pbx_switch.c functions needed by pbx.c */
  33. struct ast_switch *pbx_findswitch(const char *sw);
  34. /*! pbx_app.c functions needed by pbx.c */
  35. const char *app_name(struct ast_app *app);
  36. #define VAR_BUF_SIZE 4096
  37. #endif /* _PBX_PRIVATE_H */