[libss7-commits] mattf: trunk r33 - in /trunk: isup.c libss7.h

libss7-commits at lists.digium.com libss7-commits at lists.digium.com
Wed Aug 30 14:53:14 MST 2006


Author: mattf
Date: Wed Aug 30 16:53:14 2006
New Revision: 33

URL: http://svn.digium.com/view/libss7?rev=33&view=rev
Log:
Update to add call structure to RSC.

Modified:
    trunk/isup.c
    trunk/libss7.h

Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?rev=33&r1=32&r2=33&view=diff
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Wed Aug 30 16:53:14 2006
@@ -1011,7 +1011,7 @@
 		case ISUP_RSC:
 			e->e = ISUP_EVENT_RSC;
 			e->rsc.cic = cic;
-			isup_free_call(ss7, c);
+			e->rsc.call = c;
 			return 0;
 		case ISUP_REL:
 			e->e = ISUP_EVENT_REL;

Modified: trunk/libss7.h
URL: http://svn.digium.com/view/libss7/trunk/libss7.h?rev=33&r1=32&r2=33&view=diff
==============================================================================
--- trunk/libss7.h (original)
+++ trunk/libss7.h Wed Aug 30 16:53:14 2006
@@ -76,6 +76,12 @@
 	int e;
 	int cic;
 	struct isup_call *call;
+} ss7_event_rsc;
+
+typedef struct {
+	int e;
+	int cic;
+	struct isup_call *call;
 } ss7_event_anm;
 
 typedef struct {
@@ -124,7 +130,7 @@
 	ss7_event_ciconly ubl;
 	ss7_event_ciconly bla;
 	ss7_event_ciconly uba;
-	ss7_event_ciconly rsc;
+	ss7_event_rsc rsc;
 } ss7_event;
 
 void ss7_set_message(void (*func)(struct ss7 *ss7, char *message));



More information about the libss7-commits mailing list