summaryrefslogtreecommitdiff
path: root/include/asterisk/acl.h
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2013-04-30 22:37:24 +0000
committerJonathan Rose <jrose@digium.com>2013-04-30 22:37:24 +0000
commit8e257fe8196544ff962f1032a73134ad7c8cc4b4 (patch)
tree7683b460e67a9e1e50f5ada8991f2216ae6c8aa6 /include/asterisk/acl.h
parent6f5733388a93d01124c62233184691b53e886b3b (diff)
Stasis Core: Refactor ACL Change events to go out over the stasis core msg bus
(issue ASTERISK-21103) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/2481/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@387037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/acl.h')
-rw-r--r--include/asterisk/acl.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asterisk/acl.h b/include/asterisk/acl.h
index 50510a765..537a30d32 100644
--- a/include/asterisk/acl.h
+++ b/include/asterisk/acl.h
@@ -385,6 +385,24 @@ int ast_named_acl_init(void);
*/
int ast_named_acl_reload(void);
+/*!
+ * \brief accessor for the ACL stasis topic
+ * \since 12
+ *
+ * \retval NULL if the stasis topic hasn't been created or has been disabled
+ * \retval a pointer to the ACL stasis topic
+ */
+struct stasis_topic *ast_acl_topic(void);
+
+/*!
+ * \brief accessor for the named ACL change stasis message type
+ * \since 12
+ *
+ * \retval NULL if the ACL change message type hasn't been created or has been canceled
+ * \retval a pointer to the ACL change message type
+ */
+struct stasis_message_type *ast_named_acl_change_type(void);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif