[libpri-commits] rmudgett: branch 1.4 r920 - /branches/1.4/pri_internal.h
SVN commits to the libpri project
libpri-commits at lists.digium.com
Fri Jun 26 14:43:16 CDT 2009
Author: rmudgett
Date: Fri Jun 26 14:43:13 2009
New Revision: 920
URL: http://svn.asterisk.org/svn-view/libpri?view=rev&rev=920
Log:
Eliminate local version of PRI_MAX_TIMERS.
Modified:
branches/1.4/pri_internal.h
Modified: branches/1.4/pri_internal.h
URL: http://svn.asterisk.org/svn-view/libpri/branches/1.4/pri_internal.h?view=diff&rev=920&r1=919&r2=920
==============================================================================
--- branches/1.4/pri_internal.h (original)
+++ branches/1.4/pri_internal.h Fri Jun 26 14:43:13 2009
@@ -48,10 +48,8 @@
enum q931_state;
enum q931_mode;
-/* No more than 128 scheduled events */
+/*! Maximum number of scheduled events active at the same time. */
#define MAX_SCHED 128
-
-#define MAX_TIMERS 32
/*! \brief D channel controller structure */
struct pri {
@@ -100,7 +98,7 @@
int ri;
int t200_timer; /* T-200 retransmission timer */
/* All ISDN Timer values */
- int timers[MAX_TIMERS];
+ int timers[PRI_MAX_TIMERS];
/* Used by scheduler */
struct timeval tv;
More information about the libpri-commits
mailing list