diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-06-18 12:18:41 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-06-18 12:18:41 +0800 |
commit | 7ca0e08f3bb2419e7aea55740c672a88fe9c62bd (patch) | |
tree | a024b0a46c9ce8f16b975ba268746c6e499e01e4 /include | |
parent | ddffb6f6493be88677a43407aa175d3abc4b3d3c (diff) | |
download | pttbbs-7ca0e08f3bb2419e7aea55740c672a88fe9c62bd.tar pttbbs-7ca0e08f3bb2419e7aea55740c672a88fe9c62bd.tar.gz pttbbs-7ca0e08f3bb2419e7aea55740c672a88fe9c62bd.tar.bz2 pttbbs-7ca0e08f3bb2419e7aea55740c672a88fe9c62bd.tar.lz pttbbs-7ca0e08f3bb2419e7aea55740c672a88fe9c62bd.tar.xz pttbbs-7ca0e08f3bb2419e7aea55740c672a88fe9c62bd.tar.zst pttbbs-7ca0e08f3bb2419e7aea55740c672a88fe9c62bd.zip |
reject bad ips, including tor and bbsnet
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h index 36801e66..ac41c534 100644 --- a/include/proto.h +++ b/include/proto.h @@ -618,6 +618,7 @@ int is_validuserid(const char *ident); int userid_is_BM(const char *userid, const char *list); int is_uBM(const char *list, const char *id); inline int *intbsearch(int key, const int *base0, int nmemb); +inline unsigned int *uintbsearch(const unsigned int, const unsigned int *, const int); int qsort_intcompar(const void *a, const void *b); #ifndef CRITICAL_MEMORY #define MALLOC(p) malloc(p) |