diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-08-21 16:38:33 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-08-21 16:38:33 +0200 |
commit | d3b6538f955e824d46141f64fc081ce19fc081ef (patch) | |
tree | 603a1c76ad55a21c203e2351a06bd42139183660 /src/modules/m_spanningtree/utils.h | |
parent | 3afddb6a34ec7be67d5e9f49de1919ac40770d73 (diff) |
m_spanningtree When an IOHook goes away close all pending connections that use it
Diffstat (limited to 'src/modules/m_spanningtree/utils.h')
-rw-r--r-- | src/modules/m_spanningtree/utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h index 92a03428f..a0543b6bd 100644 --- a/src/modules/m_spanningtree/utils.h +++ b/src/modules/m_spanningtree/utils.h @@ -50,6 +50,8 @@ typedef std::map<TreeServer*,TreeServer*> TreeServerList; class SpanningTreeUtilities : public classbase { public: + typedef std::map<TreeSocket*, std::pair<std::string, int> > TimeoutList; + /** Creator module */ ModuleSpanningTree* Creator; @@ -90,7 +92,7 @@ class SpanningTreeUtilities : public classbase server_hash sidlist; /** List of all outgoing sockets and their timeouts */ - std::map<TreeSocket*, std::pair<std::string, int> > timeoutlist; + TimeoutList timeoutlist; /** Holds the data from the <link> tags in the conf */ std::vector<reference<Link> > LinkBlocks; |