diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-06-06 03:13:55 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-06-06 03:13:55 +0200 |
commit | eeabdde6fbd99bc0ba5739c65421a9c20b503f72 (patch) | |
tree | 39bd0d947f428fdecf757257625445ea5887d497 /include/usermanager.h | |
parent | b57c0342cab22f9872dabaa8eff76ce5c8b9a890 (diff) |
Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManager
Diffstat (limited to 'include/usermanager.h')
-rw-r--r-- | include/usermanager.h | 10 |
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. |