summaryrefslogtreecommitdiffstats
path: root/dss1.h
diff options
context:
space:
mode:
authorSuper User2008-04-13 19:52:42 +0200
committerSuper User2008-04-13 19:52:42 +0200
commit258c2e57a441f1fd8ed779bb2d88992aba3c1e65 (patch)
tree55cab328ddec6e67eb59764037c632550ac1282b /dss1.h
parentwork on socket (diff)
downloadlcr-258c2e57a441f1fd8ed779bb2d88992aba3c1e65.tar.gz
lcr-258c2e57a441f1fd8ed779bb2d88992aba3c1e65.tar.xz
lcr-258c2e57a441f1fd8ed779bb2d88992aba3c1e65.zip
work on socket. (don't try yet)
modified: Makefile modified: apppbx.cpp modified: bchannel.c modified: dss1.cpp modified: dss1.h modified: mISDN.cpp modified: mISDN.h deleted: q931.h modified: trace.h
Diffstat (limited to 'dss1.h')
-rw-r--r--dss1.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/dss1.h b/dss1.h
index d3be055..8216e9c 100644
--- a/dss1.h
+++ b/dss1.h
@@ -15,11 +15,16 @@ class Pdss1 : public PmISDN
public:
Pdss1(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive);
~Pdss1();
+#ifdef SOCKET_MISDN
+ unsigned int p_m_d_l3id; /* current l3 process id */
+ void message_isdn(unsigned int cmd, unsigned int pid, struct l3_msg *l3m);
+#else
int p_m_d_l3id; /* current l3 process id */
+ void message_isdn(unsigned long prim, unsigned long dinfo, void *data);
+#endif
int p_m_d_ces; /* ntmode: tei&sapi */
int handler(void);
int message_epoint(unsigned long epoint_id, int message, union parameter *param);
- void message_isdn(unsigned long prim, unsigned long dinfo, void *data);
int p_m_d_ntmode; /* flags the nt-mode */
struct message *p_m_d_queue; /* queue for SETUP if link is down */
@@ -30,9 +35,9 @@ class Pdss1 : public PmISDN
void new_state(int state); /* set new state */
// void isdn_show_send_message(unsigned long prim, msg_t *msg);
- int received_first_reply_to_setup(unsigned long prim, int channel, int exclusive);
int hunt_bchannel(int exclusive, int channel);
#ifdef SOCKET_MISDN
+ int received_first_reply_to_setup(unsigned long cmd, int channel, int exclusive);
void information_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m);
void setup_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m);
void setup_acknowledge_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m);
@@ -51,6 +56,7 @@ class Pdss1 : public PmISDN
void suspend_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m);
void resume_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m);
#else
+ int received_first_reply_to_setup(unsigned long prim, int channel, int exclusive);
void information_ind(unsigned long prim, unsigned long dinfo, void *data);
void setup_ind(unsigned long prim, unsigned long dinfo, void *data);
void setup_acknowledge_ind(unsigned long prim, unsigned long dinfo, void *data);