]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/xline.h
Hopefully fix the bursting of xlines to work again (even with unknown types) and...
[user/henk/code/inspircd.git] / include / xline.h
index 990934c56894cb4d23f8594e84ec37d064b95056..32ae04d5a3c05671d39e84005b91246e3a05823f 100644 (file)
@@ -415,6 +415,14 @@ class CoreExport XLineManager
         */
        void CheckELines();
 
+       /** Get all lines of a certain type to an XLineLookup (std::map<std::string, XLine*>)
+        */
+       XLineLookup* GetAll(const std::string &type);
+
+       /** Return all known types of line currently stored by the XLineManager
+        */
+       std::vector<std::string> GetAllTypes();
+
        /** Add a new GLine
         * @param line The line to be added
         * @param user The user adding the line or NULL for the local server