summaryrefslogtreecommitdiff
path: root/xpp/xpp_zap.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/xpp_zap.h')
-rw-r--r--xpp/xpp_zap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/xpp/xpp_zap.h b/xpp/xpp_zap.h
index 0d47422..9fa2637 100644
--- a/xpp/xpp_zap.h
+++ b/xpp/xpp_zap.h
@@ -26,13 +26,15 @@
#include "xproto.h"
void xpd_disconnect(xpd_t *xpd);
-int xframe_send(xbus_t *xbus, xframe_t *xframe);
void card_detected(struct card_desc_struct *card_desc);
-xpd_t *xpd_alloc(size_t privsize, xbus_t *xbus, int xpd_num, const xproto_table_t *proto_table, int channels, byte revision);
+xpd_t *xpd_alloc(size_t privsize, const xproto_table_t *proto_table, int channels);
void xpd_remove(xpd_t *xpd);
void update_xpd_status(xpd_t *xpd, int alarm_flag);
void update_zap_ring(xpd_t *xpd, int pos, bool on);
void update_line_status(xpd_t *xpd, int pos, bool good);
+void pcm_recompute(xpd_t *xpd);
+void generic_card_pcm_fromspan(xbus_t *xbus, xpd_t *xpd, xpp_line_t lines, xpacket_t *pack);
+void generic_card_pcm_tospan(xbus_t *xbus, xpd_t *xpd, xpacket_t *pack);
void fill_beep(u_char *buf, int num, int duration);
void got_sync_from(xpd_t *xpd);
int xpp_open(struct zt_chan *chan);