X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmain.h;h=f429b67da41b3b02d7676c19be16ecaa175df9d5;hb=d5df2d4f914907b38bc20e7c99712eff9b8be69b;hp=bfa3f9fa1765d3d1e0c9ba8d71275aee616ae92f;hpb=a9edc6bb8e1f1a9d610f8acb1585f8cc0f10cf34;p=NeonServV5.git diff --git a/src/main.h b/src/main.h index bfa3f9f..f429b67 100644 --- a/src/main.h +++ b/src/main.h @@ -1,4 +1,4 @@ -/* main.h - NeonServ v5.4 +/* main.h - NeonServ v5.6 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -19,10 +19,8 @@ #include "overall.h" #ifndef DND_FUNCTIONS -extern time_t start_time; -extern int statistics_enabled; + #ifdef HAVE_THREADS -extern int running_threads; extern pthread_mutex_t cache_sync; extern pthread_mutex_t whohandler_sync, whohandler_mass_sync; @@ -32,19 +30,10 @@ extern pthread_mutex_t whohandler_sync, whohandler_mass_sync; /* MODULAR ACCESSIBLE */ time_t getStartTime(); /* MODULAR ACCESSIBLE */ int getRunningThreads(); -void exit_daemon(); - -/* MODULAR ACCESSIBLE */ int stricmp (const char *s1, const char *s2); -/* MODULAR ACCESSIBLE */ int stricmplen (const char *s1, const char *s2, int len); - -/* MODULAR ACCESSIBLE */ void restart_process(); -/* MODULAR ACCESSIBLE */ void cleanup(); -/* MODULAR ACCESSIBLE */ void restart_bot(int do_hard_restart); +/* MODULAR ACCESSIBLE */ void restart_bot(int crash); /* MODULAR ACCESSIBLE */ void stop_bot(); /* MODULAR ACCESSIBLE */ void reload_config(); -int statistics_update(); - /* MODULAR ACCESSIBLE */ void putlog(int loglevel, const char *text, ...) PRINTF_LIKE(2, 3); #endif #endif \ No newline at end of file