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, 5 insertions, 1 deletions
diff --git a/xpp/xpp_zap.h b/xpp/xpp_zap.h
index fee20c5..dd56657 100644
--- a/xpp/xpp_zap.h
+++ b/xpp/xpp_zap.h
@@ -26,8 +26,12 @@
#include "xproto.h"
void xpd_disconnect(xpd_t *xpd);
-void card_detected(struct card_desc_struct *card_desc);
+int xpd_common_init(xbus_t *xbus, xpd_t *xpd, int unit, int subunit, int subtype, int subunits);
+int create_xpd(xbus_t *xbus, const xproto_table_t *proto_table,
+ int unit, int subunit, byte type, byte subtype, int subunits, byte port_dir);
+void xpd_post_init(xpd_t *xpd);
xpd_t *xpd_alloc(size_t privsize, const xproto_table_t *proto_table, int channels);
+void xpd_free(xpd_t *xpd);
void xpd_remove(xpd_t *xpd);
void update_xpd_status(xpd_t *xpd, int alarm_flag);
void update_line_status(xpd_t *xpd, int pos, bool good);