projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added OpenSSL handler
[NeonServV5.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 2b31e62edefaa2cacd26a89f57441337c6461736..b4cf00f26cd7893c2082d9c9f8056cb509ecfe16 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-16,6
+16,7
@@
*/
#ifndef _main_h
#define _main_h
*/
#ifndef _main_h
#define _main_h
+#include "../config.h"
#define NEONSERV_VERSION "5.2"
#define VERSION_PATCHLEVEL 414
#define NEONSERV_VERSION "5.2"
#define VERSION_PATCHLEVEL 414
@@
-37,11
+38,11
@@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#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>
#endif
#include <unistd.h>
#include <stdarg.h>
#include <sys/time.h>
-#include <sys/wait.h>
#include <time.h>
#if __GNUC__
#include <time.h>
#if __GNUC__
@@
-105,8
+106,15
@@
#define TEMPUSER_LIST_INDEX VALID_NICK_CHARS_FIRST_LEN
extern time_t start_time;
#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);
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
#endif
\ No newline at end of file