Stasis: Convert network change events into network change stasis messages

(issue ASTERISK-21103)
Review: https://reviewboard.asterisk.org/r/2490/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@387594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2013-05-03 18:03:26 +00:00
parent e236c2ea36
commit 1eac5a7988
6 changed files with 121 additions and 75 deletions

View File

@@ -126,6 +126,31 @@ const char *ast_file_version_find(const char *file);
char *ast_complete_source_filename(const char *partial, int n);
/*!
* \brief accessor for the system stasis topic
* \since 12
*
* \retval NULL if the stasis topic hasn't been created or has been
* deliberately disabled. Unless it is ran prior to system
* initialization, this should never return NULL.
* \retval a pointer to the System stasis topic
*/
struct stasis_topic *ast_system_topic(void);
/*!
* \brief accessor for the network change stasis message type
* \since 12
*
* \retval NULL if the message type hasn't been created or has been
* deliberately disabled. Unless it is ran prior to system
* initialization, this should never return NULL.
* \retval a pointer to the network change stasis message type
*
* \note Messages of this type should always be issued on and expected from
* the system stasis topic.
*/
struct stasis_message_type *ast_network_change_type(void);
/*!
* \brief Register/unregister a source code file with the core.
* \param file the source file name