X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Fmodules%2Fmodule.h;h=4c55c40ef650cbc802e17dad1b183ee6b2f1c3af;hp=1b9dac7a55d75aa244c732b4ac012c004e57a235;hb=14c5204e1fb8b97feae94be02e324a87617ce0f5;hpb=be42ae9721e6c4dc079539ee60b1c2f06e1241d9 diff --git a/src/modules/module.h b/src/modules/module.h index 1b9dac7..4c55c40 100644 --- a/src/modules/module.h +++ b/src/modules/module.h @@ -31,8 +31,10 @@ extern int module_id; /* 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 */ /* deprecated */ -/* 006 */ /* deprecated */ +#ifdef ENABLE_MUTEX_DEBUG +/* 005 */ #define xmutex ((void (*)(int, pthread_mutex_t *, const char *, unsigned int))global[005]) +/* 006 */ #define mutex_debug ((void (*)(pthread_mutex_t *))global[006]) +#endif /* 007 */ #define restart_bot ((void (*)(int))global[7]) /* 008 */ #define stop_bot ((void (*)(void))global[8]) /* 009 */ #define reload_config ((void (*)(void))global[9])