aboutsummaryrefslogtreecommitdiff
path: root/src/userdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/userdb.h')
-rw-r--r--src/userdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/userdb.h b/src/userdb.h
index 2f122a9..1d1d6e2 100644
--- a/src/userdb.h
+++ b/src/userdb.h
@@ -65,6 +65,9 @@ void userdb_shutdown(void);
/* save the DB to disk */
void userdb_write(const char*);
+/* *save should be set to NULL on the first run */
+struct userdata_t *userdb_iterate(void **save);
+
/*** child-only functions ***/
struct userdata_t *userdb_request_lookup(const char *name);
bool userdb_request_add(struct userdata_t *data);