X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Ftools.h;h=bab14cb658f3771c1612be726a21f7b38341f976;hp=4398b90f132c3dccd6c450908527eea64af800ce;hb=HEAD;hpb=78e040af3fcc36ab684611c0f98b4381ff420878 diff --git a/src/tools.h b/src/tools.h index 4398b90..bab14cb 100644 --- a/src/tools.h +++ b/src/tools.h @@ -1,4 +1,4 @@ -/* tools.h - NeonServ v5.5 +/* tools.h - NeonServ v5.6 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -75,6 +75,7 @@ struct ModeBuffer { /* MODULAR ACCESSIBLE */ char* timeToStr(struct UserNode *user, int seconds, int items, char *buf); /* MODULAR ACCESSIBLE */ int strToTime(struct UserNode *user, char *str); +/* MODULAR ACCESSIBLE */ int getCurrentSecondsOfDay(); /* MODULAR ACCESSIBLE */ struct ModeBuffer* initModeBuffer(struct ClientSocket *client, struct ChanNode *chan); /* MODULAR ACCESSIBLE */ void modeBufferSet(struct ModeBuffer *modeBuf, int add, char mode, char *param); @@ -91,6 +92,9 @@ struct ModeBuffer { /* MODULAR ACCESSIBLE */ unsigned long crc32(const char *text); +/* MODULAR ACCESSIBLE */ int stricmp (const char *s1, const char *s2); +/* MODULAR ACCESSIBLE */ int stricmplen (const char *s1, const char *s2, int len); + void init_tools(); #endif