diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-06-25 20:29:11 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-06-25 20:29:11 +0000 |
| commit | 2ea6359a1a6a0e1f80777a4d57a66d5b5064cfd6 (patch) | |
| tree | c54acf903588a4fa033e01d3e40828a5d6f7d718 /include | |
| parent | efddd4fb3670ca09de6d8e401a22f7e31dc8fe3a (diff) | |
BUILD : 1.7.10 (831) BUGS : NOTES : Removing userban code for now
git-svn-id: svn://svn.anope.org/anope/trunk@831 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@584 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/services.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/include/services.h b/include/services.h index 31684577c..e0017256e 100644 --- a/include/services.h +++ b/include/services.h @@ -1317,44 +1317,6 @@ typedef struct ircd_modes_ { /*************************************************************************/ -/* UserBan support structures */ - -typedef struct baninfo_ BanInfo; -typedef struct banlist_ BanList; - -struct baninfo_ { - uint32 id; /* Ban ID, can be used to look it up */ - uint16 type; /* See BANTYPE_ below */ - - uint32 cidr_mask; /* Netmask for CIDR matching */ - uint32 cidr_ip; /* IP mask for CIDR matching */ - char *user; /* User value, NULL when not matched */ - char *host; /* Host value, NULL when not matched */ - - char *mask; /* String version of the ban mask, for displaying */ - - BanInfo *next; - BanInfo *prev; -}; - -struct banlist_ { - uint16 flags; /* See BANLIST_ below */ - BanInfo **bans; /* Ban data lists */ - uint32 next_id; /* Next ID to use for a ban */ -}; - -#define BANTYPE_NONE 0x0000 -#define BANTYPE_CIDR4 0x0001 -#define BANTYPE_USER 0x0002 -#define BANTYPE_USER_WILD 0x0004 -#define BANTYPE_HOST 0x0008 -#define BANTYPE_HOST_WILD 0x0010 - -#define BANLIST_NONE 0x0000 -#define BANLIST_HASHED 0x0001 - -/*************************************************************************/ - #include "extern.h" /*************************************************************************/ |
