X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2Fmodule.h;h=25a767690264df5fd68ae73cd943169478f273d4;hb=e9d8fc51ef743296c6b788dcabba46cbfab05086;hp=071c1483afd35462ec8f25db331a36a20bc122d4;hpb=d46f9474c87208e9e62f3b5c814f6d014b8a5cf5;p=NeonServV5.git diff --git a/src/modules/module.h b/src/modules/module.h index 071c148..25a7676 100644 --- a/src/modules/module.h +++ b/src/modules/module.h @@ -27,11 +27,11 @@ extern int module_id; /**** global function list ****/ /* 000 */ #define getStartTime ((time_t (*)(void))global[0]) /* 001 */ #define getRunningThreads ((int (*)(void))global[1]) -/* 002 */ #define exit_daemon ((int (*)(void))global[2]) +/* 002 */ #define getCurrentSecondsOfDay ((int (*)(void))global[2]) /* 003 */ #define stricmp ((int (*)(const char *, const char *))global[3]) /* 004 */ #define stricmplen ((int (*)(const char *, const char *, int))global[4]) -/* 005 */ #define restart_process ((void (*)(void))global[5]) -/* 006 */ #define cleanup ((void (*)(void))global[6]) +/* 005 */ /* deprecated */ +/* 006 */ /* deprecated */ /* 007 */ #define restart_bot ((void (*)(int))global[7]) /* 008 */ #define stop_bot ((void (*)(void))global[8]) /* 009 */ #define reload_config ((void (*)(void))global[9])