[Asterisk-cvs] libpri-matt pri_internal.h, 1.10, 1.11 prisched.c, 1.4, 1.5 q931.c, 1.16, 1.17

mattf at lists.digium.com mattf at lists.digium.com
Fri Jan 14 11:00:23 CST 2005


Update of /usr/cvsroot/libpri-matt
In directory mongoose.digium.com:/tmp/cvs-serv28820

Modified Files:
	pri_internal.h prisched.c q931.c 
Log Message:
MWI activate appears to be working :-)


Index: pri_internal.h
===================================================================
RCS file: /usr/cvsroot/libpri-matt/pri_internal.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- pri_internal.h	30 Dec 2004 14:23:55 -0000	1.10
+++ pri_internal.h	14 Jan 2005 17:04:12 -0000	1.11
@@ -244,6 +244,8 @@
 
 extern void pri_error(char *fmt, ...);
 
-int pri_call_adpu_queue(q931_call *call, int messagetype, void *adpu, int adpu_len, void (*function)(void *data), void *data);
+extern int pri_call_adpu_queue(q931_call *call, int messagetype, void *adpu, int adpu_len, void (*function)(void *data), void *data);
+
+extern int pri_call_adpu_queue_cleanup(q931_call *call);
 
 #endif

Index: prisched.c
===================================================================
RCS file: /usr/cvsroot/libpri-matt/prisched.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- prisched.c	14 Jan 2005 16:55:14 -0000	1.4
+++ prisched.c	14 Jan 2005 17:04:12 -0000	1.5
@@ -155,7 +155,7 @@
 
 int pri_call_adpu_queue_cleanup(q931_call *call)
 {
-	struct adpu_event *cur_event = NULL, free_event = NULL;
+	struct adpu_event *cur_event = NULL, *free_event = NULL;
 
 	if (call->adpus) {
 		cur_event = call->adpus;

Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri-matt/q931.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- q931.c	14 Jan 2005 16:49:07 -0000	1.16
+++ q931.c	14 Jan 2005 17:04:12 -0000	1.17
@@ -1430,8 +1430,6 @@
 	struct rose_component *comp = NULL;
 	int i = 0;
 
-	pri_message("transmit_facility\n");
-
 	while (tmp) {
 		if (tmp->message == msgtype)
 			break;
@@ -1470,8 +1468,6 @@
 	memcpy(comp->data, tmp->adpu, tmp->adpu_len);
 	i += tmp->adpu_len;
 
-	pri_message("Length of ADPU is %d.  IE is %d\n", tmp->adpu_len, i - tmp->adpu_len);
-
 	return i + 2;
 }
 




More information about the svn-commits mailing list