summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-06 15:26:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-06 15:26:16 +0000
commita9621bc98996e08d86734e6848de13223341ea64 (patch)
tree640e5bf984b9efbc53be3f7f4e62f34f62eee3da /include/socket.h
parentd07d41bf93ea6970e0b574c64c694abc6e3cd54c (diff)
Fix CIDR functions so they work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4731 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h
index f9a39ded5..399f84397 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -49,6 +49,8 @@ typedef struct in_addr insp_inaddr;
#endif
+bool MatchCIDRBits(unsigned char* address, unsigned char* mask, unsigned int mask_bits);
+
const char* insp_ntoa(insp_inaddr n);
int insp_aton(const char* a, insp_inaddr* n);