diff options
Diffstat (limited to 'kernel/xpp/xpp_zap.h')
-rw-r--r-- | kernel/xpp/xpp_zap.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/xpp/xpp_zap.h b/kernel/xpp/xpp_zap.h index dd56657..8a4ffad 100644 --- a/kernel/xpp/xpp_zap.h +++ b/kernel/xpp/xpp_zap.h @@ -34,13 +34,17 @@ xpd_t *xpd_alloc(size_t privsize, const xproto_table_t *proto_table, int channel 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); +void hookstate_changed(xpd_t *xpd, int pos, bool good); int xpp_open(struct zt_chan *chan); int xpp_close(struct zt_chan *chan); int xpp_ioctl(struct zt_chan *chan, unsigned int cmd, unsigned long arg); int xpp_maint(struct zt_span *span, int cmd); void report_bad_ioctl(const char *msg, xpd_t *xpd, int pos, unsigned int cmd); int total_registered_spans(void); +void oht_pcm(xpd_t *xpd, int pos, bool pass); +void mark_offhook(xpd_t *xpd, int pos, bool to_offhook); +#define IS_OFFHOOK(xpd,pos) IS_SET((xpd)->offhook_state, (pos)) +void notify_rxsig(xpd_t *xpd, int pos, zt_rxsig_t rxsig); #ifdef CONFIG_PROC_FS #include <linux/proc_fs.h> |