From cb21d47e2f9bf52f887241301c7437a367cd79ef Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 26 Jan 2016 20:56:29 -0500 Subject: fix USER LIST command --- src/userdb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/userdb.h') 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); -- cgit v1.1