Replaced polling loop for LCR and chan_lcr with select based event loop.
[lcr.git] / main.h
diff --git a/main.h b/main.h
index e5802de..9b750e1 100644 (file)
--- a/main.h
+++ b/main.h
@@ -68,8 +68,7 @@ void debug(const char *function, int line, const char *prefix, char *buffer);
 #define DEBUG_PORT     0x0100
 #define DEBUG_ISDN     0x0110
 #define DEBUG_GSM      0x0120
-#define DEBUG_SS5      0x0130
-//#define DEBUG_KNOCK  0x0140
+#define DEBUG_SS5      0x0140
 #define DEBUG_VBOX     0x0180
 #define DEBUG_EPOINT   0x0200
 #define DEBUG_JOIN     0x0400
@@ -137,6 +136,7 @@ extern "C" {
 }
 #endif
 #include "macro.h"
+#include "select.h"
 #include "options.h"
 #include "interface.h"
 #include "extension.h"
@@ -169,11 +169,6 @@ extern "C" {
 #include "trace.h"
 
 extern int quit;
-extern double now_d;
-extern time_t now;
-extern struct tm *now_tm;
-extern struct timeval now_tv;
-extern struct timezone now_tz;
 
 #define DIRECTION_NONE 0
 #define DIRECTION_OUT  1