summaryrefslogtreecommitdiff
path: root/include/xline.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-02 14:01:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-02 14:01:55 +0000
commit17a80c5a8ef43675bf0d6937f35c950d7348f9ee (patch)
tree0bf58bddba4d476814e03ceed924434eca78515d /include/xline.h
parent5028040d96a9c736f48ad2b62c6232078bf470db (diff)
Hopefully fix the bursting of xlines to work again (even with unknown types) and also add facility to enumerate them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8461 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/xline.h')
-rw-r--r--include/xline.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/xline.h b/include/xline.h
index 990934c56..32ae04d5a 100644
--- a/include/xline.h
+++ b/include/xline.h
@@ -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