summaryrefslogtreecommitdiffstats
path: root/filterdb.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-08-27 17:05:18 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-08-27 17:05:18 +0300
commitb8944ab71ccdc9951c6b74ef8ed8686d0329f99c (patch)
treea44327faefdfb99bf61d1249c044bfef66419267 /filterdb.h
parent29331f1c5e940499f282aea8155b89fae69f3fb8 (diff)
downloadsquark-b8944ab71ccdc9951c6b74ef8ed8686d0329f99c.tar.bz2
squark-b8944ab71ccdc9951c6b74ef8ed8686d0329f99c.tar.xz
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).
Diffstat (limited to 'filterdb.h')
-rw-r--r--filterdb.h4
1 files changed, 2 insertions, 2 deletions
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 <stddef.h>
#include <stdint.h>