]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/usermanager.h
Switch <stdint.h> test to use a test file too.
[user/henk/code/inspircd.git] / include / usermanager.h
index 743db508aaa00d6235902b766e41e5bb93fdccfc..2a9d6b47b2b9ca54c893ba75a07bbe296a74f9e9 100644 (file)
@@ -32,6 +32,8 @@ class CoreExport UserManager
         */
        clonemap local_clones;
  public:
+       UserManager();
+
        ~UserManager()
        {
                for (user_hash::iterator i = clientlist->begin();i != clientlist->end();i++)
@@ -110,6 +112,10 @@ class CoreExport UserManager
         */
        void RemoveCloneCounts(User *user);
 
+       /** Rebuild clone counts
+        */
+       void RehashCloneCounts();
+
        /** Return the number of global clones of this user
         * @param user The user to get a count for
         * @return The global clone count of this user