[sr-dev] git:master:fc7b0d65: core: events - increased SREV_CB_LIST_SIZE

Daniel-Constantin Mierla miconda at gmail.com
Fri May 8 13:56:02 CEST 2020


Module: kamailio
Branch: master
Commit: fc7b0d65a227a176f79459c86844668bcd519148
URL: https://github.com/kamailio/kamailio/commit/fc7b0d65a227a176f79459c86844668bcd519148

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-05-08T13:54:49+02:00

core: events - increased SREV_CB_LIST_SIZE

- there can be several modules registering for these core callbacks

---

Modified: src/core/events.h

---

Diff:  https://github.com/kamailio/kamailio/commit/fc7b0d65a227a176f79459c86844668bcd519148.diff
Patch: https://github.com/kamailio/kamailio/commit/fc7b0d65a227a176f79459c86844668bcd519148.patch

---

diff --git a/src/core/events.h b/src/core/events.h
index 6282e65a5a..df8a313055 100644
--- a/src/core/events.h
+++ b/src/core/events.h
@@ -38,7 +38,7 @@
 #define SREV_NET_DATA_RECV		14
 #define SREV_NET_DATA_SEND		15
 
-#define SREV_CB_LIST_SIZE	3
+#define SREV_CB_LIST_SIZE	8
 
 typedef struct sr_event_param {
 	void *data;




More information about the sr-dev mailing list