X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=mISDN.h;h=90f686ba1f8a2b0d1d651d540172a3f8e339d09a;hp=b93ebb28761c8a743d72f6bb149130513c6a2ced;hb=a425aedc1ee2c0bba4ba20904943afb21bd6e2e5;hpb=26c7e0d22ead805ce333ea4248c7311c1eda5de0 diff --git a/mISDN.h b/mISDN.h index b93ebb2..90f686b 100644 --- a/mISDN.h +++ b/mISDN.h @@ -39,6 +39,8 @@ 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) */ + unsigned char l2mask[16]; /* 128 bits for each tei */ + 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 +82,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);