-/* overall.h - NeonServ v5.3
+/* overall.h - NeonServ v5.5
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
#define _overall_h
#include "../config.h"
-#define NEONSERV_VERSION "5.3"
-#define VERSION_PATCHLEVEL 543
+#define NEONSERV_VERSION "5.5"
+#define VERSION_PATCHLEVEL 707
#include <stdio.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/wait.h>
+#include <errno.h>
#endif
#include <unistd.h>
#include <getopt.h>
#include <stdarg.h>
#include <sys/time.h>
#include <time.h>
+#include <signal.h>
+#ifdef SYNCHRONIZE
+//some winnt machines do already have a SYNCHRONIZE macro defined...
+#undef SYNCHRONIZE
+#endif
#ifdef HAVE_THREADS
#include <pthread.h>
#ifdef WIN32
#define BOTWAR_DETECTION_TIME 7
#define BOTWAR_DETECTION_EVENTS 6
#define REWHO_TIMEOUT 10 /* wait 10 seconds before WHO an unauthed user again */
-#define TICKS_PER_SECOND 10
+#define CLEAR_CACHE_INTERVAL 10
//valid nick chars
#define VALID_NICK_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890{|}~[\\]^-_`"