From b8944ab71ccdc9951c6b74ef8ed8686d0329f99c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 27 Aug 2010 17:05:18 +0300 Subject: authdb: implement basics Implement a shared memory based authentication cache. It's a simple local cache indexed by IP-address, and keeps track of that IP's auth info such as username, allowed categories and timeouts. This provides basis for captive portal, per-user definable category restrictions and implementation of soft blocks (block which can be overridden by user by clicking a button on the blocked page). --- filterdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filterdb.h') diff --git a/filterdb.h b/filterdb.h index 68c1a2a..2d16572 100644 --- a/filterdb.h +++ b/filterdb.h @@ -1,5 +1,5 @@ -#ifndef SQUARKDB_H -#define SQUARKDB_H +#ifndef FILTERDB_H +#define FILTERDB_H #include #include -- cgit v1.2.3