]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Putting all event defs and names back for now due to res_corosync dependency
authorJonathan Rose <jrose@digium.com>
Thu, 2 May 2013 16:39:28 +0000 (16:39 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 2 May 2013 16:39:28 +0000 (16:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@387420 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/event_defs.h
main/event.c

index 83fc9888955c038a04f0f0f8a38188efb5a2c4b7..7a4b064d0c1382f2a73314fee0c6e2f35bc34e74 100644 (file)
@@ -56,10 +56,12 @@ 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 been changed. */
+       AST_EVENT_ACL_CHANGE          = 0x0b,
        /*! Send out a ping for debugging distributed events */
-       AST_EVENT_PING                = 0x0b,
+       AST_EVENT_PING                = 0x0c,
        /*! Number of event types.  This should be the last event type + 1 */
-       AST_EVENT_TOTAL               = 0x0c,
+       AST_EVENT_TOTAL               = 0x0d,
 };
 
 /*! \brief Event Information Element types */
index fa2557a77e101066a266c8a322de6ccc8f62ae9c..d97b04336b77d9bf4e6362e657fa36aeb4cae7a7 100644 (file)
@@ -217,6 +217,7 @@ static const char * const event_names[AST_EVENT_TOTAL] = {
        [AST_EVENT_SECURITY]            = "Security",
        [AST_EVENT_NETWORK_CHANGE]      = "NetworkChange",
        [AST_EVENT_PRESENCE_STATE]      = "PresenceState",
+       [AST_EVENT_ACL_CHANGE]          = "ACLChange",
        [AST_EVENT_PING]                = "Ping",
 };