diff options
| author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-02 06:06:47 +0000 |
|---|---|---|
| committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-02 06:06:47 +0000 |
| commit | f18d506cad80b9ed28f02ee33f35332320f3ea04 (patch) | |
| tree | 2d9d0cd5a48e4677dfefa114aca17e3f28926a79 /include/services.h | |
| parent | 541f11e4b80cbb2cc76da34fb2e1659b5e8b0090 (diff) | |
BUILD : 1.7.6 (468) BUGS : N/A NOTES : 1. fixes del_session() warning when LimitSessions is disabled 2. actions.c is doxygen ready, along with code clean up 3. sessions.c cleaned up and moved some items around 4. ChanServ AKICK (pointed to freed memory) 5. servers.c is doxygen ready, along with some code clean up
git-svn-id: svn://svn.anope.org/anope/trunk@468 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@322 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/services.h')
| -rw-r--r-- | include/services.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/services.h b/include/services.h index 2d6aae05f..6e82bbb10 100644 --- a/include/services.h +++ b/include/services.h @@ -155,6 +155,7 @@ typedef struct cmmode_ CMMode; typedef struct csmode_ CSMode; typedef struct cumode_ CUMode; typedef struct csmodeutil_ CSModeUtil; +typedef struct session_ Session; /*************************************************************************/ @@ -928,6 +929,15 @@ struct exception_ { /*************************************************************************/ +struct session_ { + Session *prev, *next; + char *host; + int count; /* Number of clients with this host */ + int hits; /* Number of subsequent kills for a host */ +}; + +/*************************************************************************/ + /* Proxy stuff */ |
