summaryrefslogtreecommitdiffstats
path: root/authdb.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-09-03 13:41:04 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-09-03 13:41:04 +0300
commit050e200061d2b5002251c85a83c55bb7e1864a39 (patch)
treeb17b56e60d176bd349e4f419cc25bbfffd1fcc1b /authdb.h
parent5bc7fd8f1e41365677eb6787cb7d2a6dea62ee0c (diff)
downloadsquark-050e200061d2b5002251c85a83c55bb7e1864a39.tar.bz2
squark-050e200061d2b5002251c85a83c55bb7e1864a39.tar.xz
auth-ip: implement logout
Implement logout function and some minor fixes.
Diffstat (limited to 'authdb.h')
-rw-r--r--authdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/authdb.h b/authdb.h
index d8bec04..1e50726 100644
--- a/authdb.h
+++ b/authdb.h
@@ -46,6 +46,7 @@ void authdb_clear_entry(struct authdb_entry *entry);
int authdb_set(void *token, struct authdb_entry *entry);
int authdb_check_login(void *token, struct authdb_entry *e, blob_t username, time_t now);
void authdb_commit_login(void *token, struct authdb_entry *e, time_t now);
+void authdb_commit_logout(void *token);
void authdb_commit_override(void *token, struct authdb_entry *entry, time_t now);
#endif