summaryrefslogtreecommitdiff
path: root/include/extern.h
diff options
context:
space:
mode:
authortrystan 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
committertrystan 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
commitf18d506cad80b9ed28f02ee33f35332320f3ea04 (patch)
tree2d9d0cd5a48e4677dfefa114aca17e3f28926a79 /include/extern.h
parent541f11e4b80cbb2cc76da34fb2e1659b5e8b0090 (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/extern.h')
-rw-r--r--include/extern.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/extern.h b/include/extern.h
index a3e6da887..584fda133 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -841,6 +841,9 @@ E int anope_check_sync(const char *name);
E Exception *exceptions;
E int16 nexceptions;
+Session *sessionlist[1024];
+int32 nsessions;
+
E void get_session_stats(long *nrec, long *memuse);
E void get_exception_stats(long *nrec, long *memuse);
@@ -854,6 +857,13 @@ E void save_rdb_exceptions(void);
E int do_exception(User *u);
E void expire_exceptions(void);
+E Session *findsession(const char *host);
+
+E Exception *find_host_exception(const char *host);
+E int exception_add(User * u, const char *mask, const int limit,
+ const char *reason, const char *who,
+ const time_t expires);
+
/**** sockutil.c ****/
E int32 total_read, total_written;