added OpenSSL handler
[NeonServV5.git] / src / main.h
index 2b31e62edefaa2cacd26a89f57441337c6461736..b4cf00f26cd7893c2082d9c9f8056cb509ecfe16 100644 (file)
@@ -16,6 +16,7 @@
  */
 #ifndef _main_h
 #define _main_h
+#include "../config.h"
 
 #define NEONSERV_VERSION "5.2"
 #define VERSION_PATCHLEVEL 414
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#include <sys/wait.h>
 #endif
 #include <unistd.h>
 #include <stdarg.h>
 #include <sys/time.h>
-#include <sys/wait.h>
 #include <time.h>
 
 #if __GNUC__
 #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