some fixes, check README
[lcr.git] / main.h
diff --git a/main.h b/main.h
index 496f087..3e8ec33 100644 (file)
--- a/main.h
+++ b/main.h
@@ -13,7 +13,7 @@
 
 #define DEFAULT_ENDPOINT_APP EndpointAppPBX
 
-#define VERSION_STRING "0.1 (August 2007)"
+#define VERSION_STRING "0.3 (December 2007)"
 
 extern int memuse;
 extern int mmemuse;
@@ -26,6 +26,8 @@ extern int classuse;
 extern int fduse;
 extern int fhuse;
 
+extern int global_debug;
+
 #define PDEBUG(mask, fmt, arg...) _printdebug(__FUNCTION__, __LINE__, mask, fmt, ## arg)
 #define PERROR(fmt, arg...) _printerror(__FUNCTION__, __LINE__, fmt, ## arg)
 #define PDEBUG_RUNTIME(mask, fmt, arg...) _printdebug(NULL, 0, mask, fmt, ## arg)
@@ -66,7 +68,6 @@ void debug(const char *function, int line, char *prefix, char *buffer);
  */
 #define ISDN_LOAD      1024 // samples
 #define ISDN_MAXLOAD   2048 // samples
-#define ISDN_TRANSMIT  256 // samples
 
 /* give sendmail program. if not inside $PATH, give absolute path here (e.g. "/usr/sbin/sendmail")
  */
@@ -112,8 +113,10 @@ void debug(const char *function, int line, char *prefix, char *buffer);
 #ifdef __cplusplus
 extern "C" {
 #endif
-#include <isdn_net.h>
-#include <../i4lnet/net_l3.h>
+#ifndef SOCKET_MISDN
+#include <mISDNuser/isdn_net.h>
+#include <mISDNuser/net_l3.h>
+#endif
 #ifdef __cplusplus
 }
 #endif
@@ -132,7 +135,7 @@ extern "C" {
 #include "vbox.h"
 #include "join.h"
 #include "joinpbx.h"
-#include "joinasterisk.h"
+#include "joinremote.h"
 #include "cause.h"
 #include "alawulaw.h"
 #include "tones.h"
@@ -150,4 +153,10 @@ extern struct timezone now_tz;
 #define DIRECTION_OUT  1
 #define DIRECTION_IN   2
 
+#if 0
+struct lcr_fdset {
+       struct mISDNport *mISDNport;
+       int b_index;
+};
+#endif