summaryrefslogtreecommitdiffstats
path: root/authdb.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-09-07 16:17:58 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-09-07 16:17:58 +0300
commitccdc549cd2540a19f4bff908555aebb2dc3b7bd5 (patch)
tree3433d463e05e9684a4e0b79f2334023e53a0f39f /authdb.h
parentdf7ffbb0628ec129af4f11353d7a51afd1f4052c (diff)
downloadsquark-ccdc549cd2540a19f4bff908555aebb2dc3b7bd5.tar.bz2
squark-ccdc549cd2540a19f4bff908555aebb2dc3b7bd5.tar.xz
authdb: separate last access / login time
and tweak the authdb a bit.
Diffstat (limited to 'authdb.h')
-rw-r--r--authdb.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/authdb.h b/authdb.h
index 1e50726..29000bd 100644
--- a/authdb.h
+++ b/authdb.h
@@ -22,13 +22,11 @@ struct authdb_entry {
sockaddr_any switch_ip;
uint64_t block_categories;
uint64_t hard_block_categories;
- } p;
-
- struct {
uint32_t login_time;
- uint32_t override_time;
- uint32_t checksum;
- } u;
+ } p;
+ uint32_t last_activity_time;
+ uint32_t override_time;
+ uint32_t checksum;
};
struct authdb_map_entry {