summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xpp_dahdi.h
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-10-26 19:05:49 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-10-26 19:05:49 +0000
commitae2b48f1ce94997de8e7e812b437c40836735184 (patch)
treee0d3e3f62c96514b7ccd74d739b667626fa85f74 /drivers/dahdi/xpp/xpp_dahdi.h
parentd4f7a34f07714e8c2f32460da0266a2891fcffca (diff)
xpp: PRI: use DAHDI new set_spantype() method
* Implement pri_set_spantype() method * Refactor code from PRI_card_dahdi_preregistration() into a new apply_pri_protocol(). - It is now called from both PRI_card_dahdi_preregistration() and set_pri_proto() - It now also sets span name + description * Remove old pri_protocol_store() method (pri_protocol is now RO) * Added pri_protocol_bystr() method (maybe promote it to DAHDI?) Signed-off-by: Oron Peled <oron.peled@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10280 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xpp_dahdi.h')
-rw-r--r--drivers/dahdi/xpp/xpp_dahdi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.h b/drivers/dahdi/xpp/xpp_dahdi.h
index cb76846..8a6dd47 100644
--- a/drivers/dahdi/xpp/xpp_dahdi.h
+++ b/drivers/dahdi/xpp/xpp_dahdi.h
@@ -25,6 +25,7 @@
#include "xpd.h"
#include "xproto.h"
+void xpd_set_spanname(xpd_t *xpd);
int xpd_dahdi_preregister(xpd_t *xpd, unsigned offset);
int xpd_dahdi_postregister(xpd_t *xpd);
void xpd_dahdi_preunregister(xpd_t *xpd);