mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-12 11:19:08 -05:00
15 lines
508 B
C
15 lines
508 B
C
// 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.
|
|
|
|
#ifndef __WXMSW__
|
|
#define closesocket(s) close(s)
|
|
typedef u_int SOCKET;
|
|
#endif
|
|
|
|
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;
|