-// Copyright (c) 2009 Satoshi Nakamoto\r
-// Distributed under the MIT/X11 software license, see the accompanying\r
-// file license.txt or http://www.opensource.org/licenses/mit-license.php.\r
+// Copyright (c) 2009-2010 Satoshi Nakamoto
+// Distributed under the MIT/X11 software license, see the accompanying
+// file license.txt or http://www.opensource.org/licenses/mit-license.php.
-#ifndef __WXMSW__
-#define closesocket(s) close(s)\r
-typedef u_int SOCKET;\r
-#endif
-\r
-extern bool RecvLine(SOCKET hSocket, string& strLine);\r
-extern void ThreadIRCSeed(void* parg);\r
-extern bool fRestartIRCSeed;\r
-\r
-extern map<vector<unsigned char>, CAddress> mapIRCAddresses;\r
-extern CCriticalSection cs_mapIRCAddresses;\r
+bool RecvLine(SOCKET hSocket, string& strLine);
+void ThreadIRCSeed(void* parg);
+
+extern int nGotIRCAddresses;
+extern bool fGotExternalIP;