summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2013-05-03 18:03:26 +0000
committerJonathan Rose <jrose@digium.com>2013-05-03 18:03:26 +0000
commit1eac5a798899713501ae9f647ecd8b035f74eecd (patch)
tree34e40bff5805f7a117856f4078773aea16f2f8de /include
parente236c2ea36f9b9e84e40ebf9cf0baf8d0ce04322 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/asterisk.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index e99bdeefd..65ef88393 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -127,6 +127,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
* \param version the version string (typically a SVN revision keyword string)