-
-#define STRINGIFY_(x) #x
-#define STRINGIFY(x) STRINGIFY_(x)
-
-#if defined(__GNUC__)
-#if defined(__GNUC_PATCHLEVEL__)
-#define COMPILER "GCC" " " STRINGIFY(__GNUC__) "." STRINGIFY(__GNUC_MINOR__) "." STRINGIFY(__GNUC_PATCHLEVEL__)
-#else
-#define COMPILER "GCC" " " STRINGIFY(__GNUC__) "." STRINGIFY(__GNUC_MINOR__)
-#endif
-#elif defined (__IMAGECRAFT__)
-#define COMPILER "ICCAVR"
-#else
-#define COMPILER "Unknown"
-#endif
-
-#define SOCKET_SELECT_TIME 1
-#define SOCKET_RECONNECT_TIME 20
-
-#define NICKLEN 30
-#define USERLEN 10
-#define AUTHLEN 32
-#define HOSTLEN 63
-#define REALLEN 50
-#define TOPICLEN 500
-#define CHANNELLEN 200
-#define MAXLEN 512
-#define TRIGGERLEN 50
-#define MAXNUMPARAMS 200 /* maximum number of parameters in one line */
-#define MAXLANGUAGES 5
-#define MAXMODES 6
-#define INVITE_TIMEOUT 30
-#define BOTWAR_DETECTION_TIME 7
-#define BOTWAR_DETECTION_EVENTS 6
-#define REWHO_TIMEOUT 10 /* wait 10 seconds before WHO an unauthed user again */
-
-//valid nick chars
-#define VALID_NICK_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890{|}~[\\]^-_`"
-//the first char is a little bit different
-// 0 1 2 3 4 5 6
-// 1234567890123456789012345678901234567890123456789012345678 9012 62
-#define VALID_NICK_CHARS_FIRST "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~[\\]^_`"
-#define VALID_NICK_CHARS_FIRST_LEN 62
-
-#define TEMPUSER_LIST_INDEX VALID_NICK_CHARS_FIRST_LEN
-
-extern time_t start_time;
-extern int statistics_enabled;
-
-int stricmp (const char *s1, const char *s2);
-int stricmplen (const char *s1, const char *s2, int len);
-
-void restart_bot(int do_hard_restart);
-void stop_bot();
-void reload_config();
-
-void statistics_update();
-