summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/socket.h3
-rw-r--r--include/typedefs.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/socket.h b/include/socket.h
index 375697ea1..8c7cc2e4e 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -119,6 +119,9 @@ namespace irc
}
}
+/** A list of failed port bindings, used for informational purposes on startup */
+typedef std::vector<std::pair<irc::sockets::sockaddrs, int> > FailedPortList;
+
#include "socketengine.h"
/** This class handles incoming connections on client ports.
* It will create a new User for every valid connection
diff --git a/include/typedefs.h b/include/typedefs.h
index 873382999..62ceb564e 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -55,9 +55,6 @@ struct ModResult;
typedef TR1NS::unordered_map<std::string, User*, irc::insensitive, irc::StrHashComp> user_hash;
typedef TR1NS::unordered_map<std::string, Channel*, irc::insensitive, irc::StrHashComp> chan_hash;
-/** A list of failed port bindings, used for informational purposes on startup */
-typedef std::vector<std::pair<std::string, std::string> > FailedPortList;
-
/** List of channels to consider when building the neighbor list of a user
*/
typedef std::vector<Membership*> IncludeChanList;