added IPNode for storing real IP's of users
[NeonServV5.git] / src / tools.h
index 5ece4af925d06fc67307208663ac74bf6c671e9d..29cd337697c6e5347640b0c2d6d17cd63ce288d9 100644 (file)
@@ -1,5 +1,5 @@
-/* tools.h - NeonServ v5.1
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* tools.h - NeonServ v5.3
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -82,6 +82,10 @@ char* generate_banmask(struct UserNode *user, char *buffer);
 char* make_banmask(char *input, char* buffer);
 int isFakeHost(char *host);
 
+int mask_match(char *mask, struct UserNode *user);
+
+unsigned long crc32(const char *text);
+
 void init_tools();
 
 #endif
\ No newline at end of file