projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added IPNode for storing real IP's of users
[NeonServV5.git]
/
src
/
tools.h
diff --git
a/src/tools.h
b/src/tools.h
index 2337e00630685b3f323c8d487c92dd0e80630d3d..29cd337697c6e5347640b0c2d6d17cd63ce288d9 100644
(file)
--- a/
src/tools.h
+++ b/
src/tools.h
@@
-1,5
+1,5
@@
/* tools.h - NeonServ v5.3
/* tools.h - NeonServ v5.3
- * Copyright (C) 2011 Philipp Kreil (pk910)
+ * 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
*
* 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,8
@@
char* generate_banmask(struct UserNode *user, char *buffer);
char* make_banmask(char *input, char* buffer);
int isFakeHost(char *host);
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();
unsigned long crc32(const char *text);
void init_tools();