summaryrefslogtreecommitdiffstats
path: root/main.h
diff options
context:
space:
mode:
authorAndreas Eversberg2010-01-16 11:20:23 +0100
committerAndreas Eversberg2010-01-16 11:20:23 +0100
commitb0bd74e35e935aa976b68c594def4e8d2c22ef95 (patch)
tree7e7033beb3b9b1a1976d58ce4e16c6f965a3c9fc /main.h
parentAdded new option to interface.conf: "nonotify" to disable notify messages. (diff)
downloadlcr-b0bd74e35e935aa976b68c594def4e8d2c22ef95.tar.gz
lcr-b0bd74e35e935aa976b68c594def4e8d2c22ef95.tar.xz
lcr-b0bd74e35e935aa976b68c594def4e8d2c22ef95.zip
Replaced polling loop for LCR and chan_lcr with select based event loop.
Now LCR and chan_lcr will not use any CPU until there is work to do.
Diffstat (limited to 'main.h')
-rw-r--r--main.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/main.h b/main.h
index 0dc82d4..9b750e1 100644
--- a/main.h
+++ b/main.h
@@ -136,6 +136,7 @@ extern "C" {
}
#endif
#include "macro.h"
+#include "select.h"
#include "options.h"
#include "interface.h"
#include "extension.h"
@@ -168,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