[asterisk-commits] jrose: trunk r387420 - in /trunk: include/asterisk/event_defs.h main/event.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 2 11:39:30 CDT 2013


Author: jrose
Date: Thu May  2 11:39:28 2013
New Revision: 387420

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387420
Log:
Putting all event defs and names back for now due to res_corosync dependency

Modified:
    trunk/include/asterisk/event_defs.h
    trunk/main/event.c

Modified: trunk/include/asterisk/event_defs.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/event_defs.h?view=diff&rev=387420&r1=387419&r2=387420
==============================================================================
--- trunk/include/asterisk/event_defs.h (original)
+++ trunk/include/asterisk/event_defs.h Thu May  2 11:39:28 2013
@@ -56,10 +56,12 @@
 	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 */

Modified: trunk/main/event.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/event.c?view=diff&rev=387420&r1=387419&r2=387420
==============================================================================
--- trunk/main/event.c (original)
+++ trunk/main/event.c Thu May  2 11:39:28 2013
@@ -217,6 +217,7 @@
 	[AST_EVENT_SECURITY]            = "Security",
 	[AST_EVENT_NETWORK_CHANGE]      = "NetworkChange",
 	[AST_EVENT_PRESENCE_STATE]      = "PresenceState",
+	[AST_EVENT_ACL_CHANGE]          = "ACLChange",
 	[AST_EVENT_PING]                = "Ping",
 };
 




More information about the asterisk-commits mailing list