diff options
author | Jonathan Rose <jrose@digium.com> | 2013-05-02 16:39:28 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2013-05-02 16:39:28 +0000 |
commit | 02961601cd0e4e264c0d03f6a849f12f35c56632 (patch) | |
tree | 3fc3d58f8adb00a2efb41b5112541259a69da441 | |
parent | f7f58b7bc23d4f79ea69ca0e2ef4a12ee5127ddd (diff) |
Putting all event defs and names back for now due to res_corosync dependency
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@387420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | include/asterisk/event_defs.h | 6 | ||||
-rw-r--r-- | main/event.c | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/asterisk/event_defs.h b/include/asterisk/event_defs.h index 83fc98889..7a4b064d0 100644 --- a/include/asterisk/event_defs.h +++ b/include/asterisk/event_defs.h @@ -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 */ diff --git a/main/event.c b/main/event.c index fa2557a77..d97b04336 100644 --- a/main/event.c +++ b/main/event.c @@ -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", }; |