summaryrefslogtreecommitdiff
path: root/include/asterisk.h
diff options
context:
space:
mode:
authorStefan Schmidt <sst@sil.at>2010-11-30 09:49:25 +0000
committerStefan Schmidt <sst@sil.at>2010-11-30 09:49:25 +0000
commit1482ba30572835f999a151366fb9a13d854e8888 (patch)
treef47f6573d51e9e32f231003fde571d2053d6b2e5 /include/asterisk.h
parentbd6f29dcb924dd1b1d643dcb327dbcee72f7f374 (diff)
move devices from hints into an ao2_container
by splitting up devices from hints into an own ao2_container the callback to get these devices for statechange handling is faster. with this changes the length of a device used in a hint isnt longer restricted to 80 characters. Tests showed that calling handle_statechange is 40 times faster if no hints are used and 25 times faster if there are any hints. (closes issue #17928) Reported by: mdu113 Tested by: schmidts Review: https://reviewboard.asterisk.org/r/1003/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@296752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk.h')
-rw-r--r--include/asterisk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index a3f51622b..9e5814a25 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -78,6 +78,7 @@ int __ast_fdleak_dup(int oldfd, const char *file, int line, const char *func);
int ast_set_priority(int); /*!< Provided by asterisk.c */
int ast_fd_init(void); /*!< Provided by astfd.c */
+int ast_pbx_init(void); /*!< Provided by pbx.c */
/*!
* \brief Register a function to be executed before Asterisk exits.