summaryrefslogtreecommitdiffstats
path: root/authdb.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-09-01 15:11:57 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-09-01 15:11:57 +0300
commit5bc7fd8f1e41365677eb6787cb7d2a6dea62ee0c (patch)
treea59724c3bd7026d82b622f954466d2df2113cce0 /authdb.h
parentb8944ab71ccdc9951c6b74ef8ed8686d0329f99c (diff)
downloadsquark-5bc7fd8f1e41365677eb6787cb7d2a6dea62ee0c.tar.bz2
squark-5bc7fd8f1e41365677eb6787cb7d2a6dea62ee0c.tar.xz
auth-ip: introduce helper tool for authdb management
fix also some authdb bugs, and make it actually usable.
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 5a3f3c4..d8bec04 100644
--- a/authdb.h
+++ b/authdb.h
@@ -46,5 +46,6 @@ 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_override(void *token, struct authdb_entry *entry, time_t now);
#endif