added small memory debugger to detect memory leaks
[NeonServV5.git] / src / main.h
index d14869e11564df1426fe6b2a56967b18659f8bd3..b8d260b8ec68be3582645f48b5447b7757f33095 100644 (file)
 #define COMPILER "Unknown"
 #endif
 
+#ifdef ENABLE_MEMORY_DEBUG
+#include "memoryDebug.h"
+#endif
+
 #define SOCKET_SELECT_TIME    1
 #define SOCKET_RECONNECT_TIME 20
 
@@ -147,6 +151,8 @@ int getCurrentThreadID();
 int stricmp (const char *s1, const char *s2);
 int stricmplen (const char *s1, const char *s2, int len);
 
+void restart_process();
+void cleanup();
 void restart_bot(int do_hard_restart);
 void stop_bot();
 void reload_config();