aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn/isdn_lib_intern.h
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-09 11:01:18 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-09 11:01:18 +0000
commit8bc4a439be6d0039dad1c1e18c8414252d3690b6 (patch)
tree274e276759789c2ccbf4891f61889e298939ae2f /channels/misdn/isdn_lib_intern.h
parentbffe61fcd207cb8e0c92eb7b56681abf35bff929 (diff)
committed head of chan_misdn with a lot of new features. Most important of all: chan_misdn supports now the mISDN mqueue tree (smp,preemptible,gcc-4 aware\!). Additionally there are some code optimizations, new facility management (Calldeflect works for now).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7413 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/misdn/isdn_lib_intern.h')
-rw-r--r--channels/misdn/isdn_lib_intern.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/channels/misdn/isdn_lib_intern.h b/channels/misdn/isdn_lib_intern.h
index 471648a68..618d6d91d 100644
--- a/channels/misdn/isdn_lib_intern.h
+++ b/channels/misdn/isdn_lib_intern.h
@@ -1,18 +1,17 @@
#ifndef ISDN_LIB_INTERN
-#define ISDN_LIB_INTER
+#define ISDN_LIB_INTERN
-#include <mISDNlib.h>
-#include <isdn_net.h>
-#include <l3dss1.h>
-#include <net_l3.h>
+#include <mISDNuser/mISDNlib.h>
+#include <mISDNuser/isdn_net.h>
+#include <mISDNuser/l3dss1.h>
+#include <mISDNuser/net_l3.h>
#include <pthread.h>
#include "isdn_lib.h"
-
-
+#define QI_ELEMENT(a) a.off
#ifndef mISDNUSER_HEAD_SIZE
@@ -37,8 +36,6 @@ struct isdn_msg {
void (*msg_parser)(struct isdn_msg *msgs, msg_t *msg, struct misdn_bchannel *bc, int nt);
msg_t *(*msg_builder)(struct isdn_msg *msgs, struct misdn_bchannel *bc, int nt);
- void (*msg_printer)(struct isdn_msg *msgs);
-
char *info;
} ;
@@ -60,6 +57,8 @@ struct misdn_stack {
int b_stids[MAX_BCHANS + 1];
int ptp;
+
+ int l2_id;
int lower_id;
int upper_id;
@@ -70,7 +69,7 @@ struct misdn_stack {
int l1link;
int midev;
- enum mode_e {NT_MODE, TE_MODE} mode;
+ int nt;
int pri;