2009-08-30 05:46:39 +02:00
|
|
|
// Copyright (c) 2009 Satoshi Nakamoto
|
|
|
|
// Distributed under the MIT/X11 software license, see the accompanying
|
|
|
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
2009-10-31 10:11:43 +01:00
|
|
|
|
|
|
|
#ifndef __WXMSW__
|
|
|
|
#define closesocket(s) close(s)
|
|
|
|
typedef u_int SOCKET;
|
|
|
|
#endif
|
2009-08-30 05:46:39 +02:00
|
|
|
|
|
|
|
extern bool RecvLine(SOCKET hSocket, string& strLine);
|
|
|
|
extern void ThreadIRCSeed(void* parg);
|
|
|
|
extern bool fRestartIRCSeed;
|
|
|
|
|
|
|
|
extern map<vector<unsigned char>, CAddress> mapIRCAddresses;
|
|
|
|
extern CCriticalSection cs_mapIRCAddresses;
|