X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmain.h;h=b4cf00f26cd7893c2082d9c9f8056cb509ecfe16;hb=003f6906aeb911cce26ee25b48a818d0d1c4aea5;hp=2b31e62edefaa2cacd26a89f57441337c6461736;hpb=46a731f9da7ecfa38a6859e933c2c1e452429527;p=NeonServV5.git diff --git a/src/main.h b/src/main.h index 2b31e62..b4cf00f 100644 --- a/src/main.h +++ b/src/main.h @@ -16,6 +16,7 @@ */ #ifndef _main_h #define _main_h +#include "../config.h" #define NEONSERV_VERSION "5.2" #define VERSION_PATCHLEVEL 414 @@ -37,11 +38,11 @@ #include #include #include +#include #endif #include #include #include -#include #include #if __GNUC__ @@ -105,8 +106,15 @@ #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 hard_restart); +void stop_bot(); +void reload_config(); + +void statistics_update(); + #endif \ No newline at end of file