From 10afdf3a2abd7e45d5c1841b29744de5b852d722 Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Wed, 11 Jul 2012 18:33:36 +0000 Subject: Named ACLs: Introduces a system for creating and sharing ACLs This patch adds Named ACL functionality to Asterisk. This allows system administrators to define an ACL and refer to it by a unique name. Configurable items can then refer to that name when specifying access control lists. It also includes updates to all core supported consumers of ACLs. That includes manager, chan_sip, and chan_iax2. This feature is based on the deluxepine-trunk by Olle E. Johansson and provides a subset of the Named ACL functionality implemented in that branch. For more information on this feature, see acl.conf and/or the Asterisk wiki. Review: https://reviewboard.asterisk.org/r/1978/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369959 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/event_defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/asterisk/event_defs.h') diff --git a/include/asterisk/event_defs.h b/include/asterisk/event_defs.h index b2bf0e4ca..d1e88360c 100644 --- a/include/asterisk/event_defs.h +++ b/include/asterisk/event_defs.h @@ -56,8 +56,10 @@ enum ast_event_type { AST_EVENT_NETWORK_CHANGE = 0x09, /*! The presence state for a presence provider */ AST_EVENT_PRESENCE_STATE = 0x0a, + /*! Used to alert listeners when a named ACL has changed. */ + AST_EVENT_ACL_CHANGE = 0x0b, /*! Number of event types. This should be the last event type + 1 */ - AST_EVENT_TOTAL = 0x0b, + AST_EVENT_TOTAL = 0x0c, }; /*! \brief Event Information Element types */ -- cgit v1.2.3