summaryrefslogtreecommitdiff
path: root/include/usermanager.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-06 03:13:55 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-06 03:13:55 +0200
commiteeabdde6fbd99bc0ba5739c65421a9c20b503f72 (patch)
tree39bd0d947f428fdecf757257625445ea5887d497 /include/usermanager.h
parentb57c0342cab22f9872dabaa8eff76ce5c8b9a890 (diff)
Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManager
Diffstat (limited to 'include/usermanager.h')
-rw-r--r--include/usermanager.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/usermanager.h b/include/usermanager.h
index f5df25f00..86978b3b3 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -81,6 +81,16 @@ class CoreExport UserManager
*/
void GarbageCollect();
+ /** Perform background user events such as PING checks
+ */
+ void DoBackgroundUserStuff();
+
+ /** Returns true when all modules have done pre-registration checks on a user
+ * @param user The user to verify
+ * @return True if all modules have finished checking this user
+ */
+ bool AllModulesReportReady(LocalUser* user);
+
/** Add a client to the system.
* This will create a new User, insert it into the user_hash,
* initialize it as not yet registered, and add it to the socket engine.