[libpri-commits] kpfleming: branch 1.4 r589 - /branches/1.4/
SVN commits to the libpri project
libpri-commits at lists.digium.com
Tue Jul 22 14:43:26 CDT 2008
Author: kpfleming
Date: Tue Jul 22 14:43:26 2008
New Revision: 589
URL: http://svn.digium.com/view/libpri?view=rev&rev=589
Log:
rename API call and option (nothing has been released to use it yet so this should be safe) to be more accurate in describing what it does
(closes issue #13042)
Modified:
branches/1.4/libpri.h
branches/1.4/pri.c
branches/1.4/pri_internal.h
branches/1.4/q931.c
Modified: branches/1.4/libpri.h
URL: http://svn.digium.com/view/libpri/branches/1.4/libpri.h?view=diff&rev=589&r1=588&r2=589
==============================================================================
--- branches/1.4/libpri.h (original)
+++ branches/1.4/libpri.h Tue Jul 22 14:43:26 2008
@@ -625,7 +625,7 @@
int pri_proceeding(struct pri *pri, q931_call *c, int channel, int info);
/* Enable inband progress when a RELEASE is received */
-void pri_set_inbandrelease(struct pri *pri, unsigned int enable);
+void pri_set_inbanddisconnect(struct pri *pri, unsigned int enable);
/* Enslave a PRI to another, so they share the same call list
(and maybe some timers) */
Modified: branches/1.4/pri.c
URL: http://svn.digium.com/view/libpri/branches/1.4/pri.c?view=diff&rev=589&r1=588&r2=589
==============================================================================
--- branches/1.4/pri.c (original)
+++ branches/1.4/pri.c Tue Jul 22 14:43:26 2008
@@ -782,9 +782,9 @@
pri->overlapdial = state;
}
-void pri_set_inbandrelease(struct pri *pri, unsigned int enable)
-{
- pri->acceptinbandrelease = (enable != 0);
+void pri_set_inbanddisconnect(struct pri *pri, unsigned int enable)
+{
+ pri->acceptinbanddisconnect = (enable != 0);
}
int pri_fd(struct pri *pri)
Modified: branches/1.4/pri_internal.h
URL: http://svn.digium.com/view/libpri/branches/1.4/pri_internal.h?view=diff&rev=589&r1=588&r2=589
==============================================================================
--- branches/1.4/pri_internal.h (original)
+++ branches/1.4/pri_internal.h Tue Jul 22 14:43:26 2008
@@ -65,7 +65,7 @@
int tei;
int protodisc;
unsigned int bri:1;
- unsigned int acceptinbandrelease:1; /* Should we allow inband progress after RELEASE? */
+ unsigned int acceptinbanddisconnect:1; /* Should we allow inband progress after RELEASE? */
/* Q.921 State */
int q921_state;
Modified: branches/1.4/q931.c
URL: http://svn.digium.com/view/libpri/branches/1.4/q931.c?view=diff&rev=589&r1=588&r2=589
==============================================================================
--- branches/1.4/q931.c (original)
+++ branches/1.4/q931.c Tue Jul 22 14:43:26 2008
@@ -3782,7 +3782,7 @@
/* wait for a RELEASE so that sufficient time has passed
for the inband audio to be heard */
- if (pri->acceptinbandrelease && (c->progressmask & PRI_PROG_INBAND_AVAILABLE))
+ if (pri->acceptinbanddisconnect && (c->progressmask & PRI_PROG_INBAND_AVAILABLE))
break;
/* Return such an event */
More information about the libpri-commits
mailing list