summaryrefslogtreecommitdiffstats
path: root/mISDN.h
diff options
context:
space:
mode:
authorAndreas Eversberg2009-03-20 20:46:25 +0100
committerAndreas Eversberg2009-03-20 20:46:25 +0100
commit57549529c86785b7ecf5f56d2a3ff42b5e519755 (patch)
tree62a72d42d21f33b0282df17b6ee4446027e24179 /mISDN.h
parentAdded Notify to NT-mode. (diff)
downloadlcr-57549529c86785b7ecf5f56d2a3ff42b5e519755.tar.gz
lcr-57549529c86785b7ecf5f56d2a3ff42b5e519755.tar.xz
lcr-57549529c86785b7ecf5f56d2a3ff42b5e519755.zip
Added layer1 hold feature. Requires new mISDN and mISDNuser package from git.
modified: README modified: interface.c modified: interface.h modified: lcradmin.c modified: lcrsocket.h modified: mISDN.cpp modified: mISDN.h modified: socket_server.c
Diffstat (limited to 'mISDN.h')
-rw-r--r--mISDN.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mISDN.h b/mISDN.h
index b93ebb2..9907b9a 100644
--- a/mISDN.h
+++ b/mISDN.h
@@ -39,6 +39,7 @@ struct mISDNport {
int ptp; /* if ptp is set, we keep track of l2link */
int l1link; /* if l1 is available (only works with nt-mode) */
int l2link; /* if l2 is available (at PTP we take this serious) */
+ int l1hold; /* set, if layer 1 should be holt */
int l2hold; /* set, if layer 2 must be hold/checked */
time_t l2establish; /* time until establishing after link failure */
int use; /* counts the number of port that uses this port */
@@ -80,7 +81,7 @@ calls with no bchannel (call waiting, call on hold).
/* mISDN none-object functions */
int mISDN_initialize(void);
void mISDN_deinitialize(void);
-struct mISDNport *mISDNport_open(int port, char *portname, int ptp, int force_nt, int te_special, int l2hold, struct interface *interface);
+struct mISDNport *mISDNport_open(int port, char *portname, int ptp, int force_nt, int te_special, int l1hold, int l2hold, struct interface *interface);
void mISDNport_close_all(void);
void mISDNport_close(struct mISDNport *mISDNport);
void mISDN_port_reorder(void);