summaryrefslogtreecommitdiffstats
path: root/asterisk_client.h
diff options
context:
space:
mode:
authorSuper User2007-08-12 13:05:26 +0200
committerSuper User2007-08-12 13:05:26 +0200
commit00e1539a7f81ea0d72dbf3ebe5dc1b8e7c047b55 (patch)
tree54c52e2c0234a269b1dcdc15ef2e6c6ee5f78317 /asterisk_client.h
parentworked on asterisk application (diff)
downloadlcr-00e1539a7f81ea0d72dbf3ebe5dc1b8e7c047b55.tar.gz
lcr-00e1539a7f81ea0d72dbf3ebe5dc1b8e7c047b55.tar.xz
lcr-00e1539a7f81ea0d72dbf3ebe5dc1b8e7c047b55.zip
work...
Diffstat (limited to 'asterisk_client.h')
-rw-r--r--asterisk_client.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/asterisk_client.h b/asterisk_client.h
new file mode 100644
index 0000000..40493d3
--- /dev/null
+++ b/asterisk_client.h
@@ -0,0 +1,25 @@
+/*****************************************************************************\
+** **
+** Linux Call Router **
+** **
+**---------------------------------------------------------------------------**
+** Copyright: Andreas Eversberg **
+** **
+** Asterisk socket client header **
+** **
+\*****************************************************************************/
+
+/* structure for all calls */
+struct chan_call {
+ struct chan_call *next;
+ unsigned long ref; /* callref, is 0, if not yet set */
+ unsigned long addr; /* reference to bchannel, if set */
+};
+
+/* structure of all bchannels (that are assinged by lcr) */
+struct chan_bchannel {
+ struct chan_bchannel *next;
+ unsigned long addr; /* stack address */
+ unsigned long ref; /* if linked with a call, ref is set */
+};
+