aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-28 21:01:44 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-28 21:01:44 +0000
commit9c61ba7c810f316d075526746193846fc1c5405f (patch)
treea1a974c0e0c22e01ba079b2655a8d9eb28668653 /include/asterisk.h
parent500700ddf04c5190732957e2bf324e80168fe147 (diff)
Merge changes from team/russell/events
This set of changes introduces a new generic event API for use within Asterisk. I am still working on a way for events to be shared between servers, but this part is ready and can already be used inside of Asterisk. This set of changes introduces the first use of the API, as well. I have restructured the way that MWI (message waiting indication) is handled. It is now event based instead of polling based. For example, if there are a bunch of SIP phones subscribed to mailboxes, then chan_sip will not have to constantly poll the mailboxes for changes. app_voicemail will generate events when changes occur. See UPGRADE.txt and CHANGES for some more information on the effects of these changes from the user perspective. For developer information, see the text in include/asterisk/event.h. As always, additional feedback is welcome on the asterisk-dev mailing list. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62292 f38db490-d61c-443f-a65b-d21fe96a405b
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 ffd081fdf..6ec3c8452 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -84,6 +84,7 @@ int dnsmgr_init(void); /*!< Provided by dnsmgr.c */
void dnsmgr_start_refresh(void); /*!< Provided by dnsmgr.c */
int dnsmgr_reload(void); /*!< Provided by dnsmgr.c */
void threadstorage_init(void); /*!< Provided by threadstorage.c */
+void ast_event_init(void); /*!< Provided by event.c */
/* Many headers need 'ast_channel' to be defined */
struct ast_channel;