summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/utils.h')
-rw-r--r--src/modules/m_spanningtree/utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h
index 0e289146b..f9f61acaf 100644
--- a/src/modules/m_spanningtree/utils.h
+++ b/src/modules/m_spanningtree/utils.h
@@ -51,6 +51,9 @@ class SpanningTreeUtilities
/** Creator module
*/
ModuleSpanningTree* Creator;
+ /** Remote servers that are currently bursting
+ */
+ server_hash RemoteServersBursting;
/** Flatten links and /MAP for non-opers
*/
bool FlatLinks;
@@ -148,6 +151,12 @@ class SpanningTreeUtilities
/** Find a server by name
*/
TreeServer* FindServer(const std::string &ServerName);
+ /** Find a remote bursting server by name
+ */
+ TreeServer* FindRemoteBurstServer(TreeServer* Server);
+ /** Set a remote server to bursting or not bursting
+ */
+ void SetRemoteBursting(TreeServer* Server, bool bursting);
/** Find a route to a server by name
*/
TreeServer* BestRouteTo(const std::string &ServerName);