[asterisk-commits] kmoore: branch kmoore/event_system_strip r395321 - in /team/kmoore/event_syst...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 24 15:44:06 CDT 2013


Author: kmoore
Date: Wed Jul 24 15:44:05 2013
New Revision: 395321

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395321
Log:
Events no longer need EIDs

Modified:
    team/kmoore/event_system_strip/include/asterisk/event.h
    team/kmoore/event_system_strip/main/event.c

Modified: team/kmoore/event_system_strip/include/asterisk/event.h
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/event_system_strip/include/asterisk/event.h?view=diff&rev=395321&r1=395320&r2=395321
==============================================================================
--- team/kmoore/event_system_strip/include/asterisk/event.h (original)
+++ team/kmoore/event_system_strip/include/asterisk/event.h Wed Jul 24 15:44:05 2013
@@ -449,19 +449,6 @@
 	const void *data, size_t data_len);
 
 /*!
- * \brief Append the global EID IE
- *
- * \param event the event to append IE to
- *
- * \note For ast_event_new() that includes IEs, this is done automatically
- *       for you.
- *
- * \retval 0 success
- * \retval -1 failure
- */
-int ast_event_append_eid(struct ast_event **event);
-
-/*!
  * \brief Get the value of an information element that has an integer payload
  *
  * \param event The event to get the IE from

Modified: team/kmoore/event_system_strip/main/event.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/event_system_strip/main/event.c?view=diff&rev=395321&r1=395320&r2=395321
==============================================================================
--- team/kmoore/event_system_strip/main/event.c (original)
+++ team/kmoore/event_system_strip/main/event.c Wed Jul 24 15:44:05 2013
@@ -1181,19 +1181,7 @@
 		}
 	}
 
-	if (!ast_event_get_ie_raw(event, AST_EVENT_IE_EID)) {
-		/* If the event is originating on this server, add the server's
-		 * entity ID to the event. */
-		ast_event_append_eid(&event);
-	}
-
 	return event;
-}
-
-int ast_event_append_eid(struct ast_event **event)
-{
-	return ast_event_append_ie_raw(event, AST_EVENT_IE_EID,
-			&ast_eid_default, sizeof(ast_eid_default));
 }
 
 void ast_event_destroy(struct ast_event *event)




More information about the asterisk-commits mailing list