mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-13 01:20:22 +03:00
commit
2fcc91a755
@ -60,7 +60,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
# TODO: more tweaks
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -undefined dynamic_lookup")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Compiler flags customization (by system)
|
# Compiler flags customization (by system)
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include "RouterInfo.h"
|
#include "RouterInfo.h"
|
||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
#include "tunnel/Tunnel.h"
|
#include "tunnel/Tunnel.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "Garlic.h"
|
#include "Garlic.h"
|
||||||
#include "util/util.h"
|
#include "util/util.h"
|
||||||
#include "Streaming.h"
|
#include "Streaming.h"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include "tunnel/Tunnel.h"
|
#include "tunnel/Tunnel.h"
|
||||||
#include "tunnel/TransitTunnel.h"
|
#include "tunnel/TransitTunnel.h"
|
||||||
#include "transport/Transports.h"
|
#include "transport/Transports.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "util/I2PEndian.h"
|
#include "util/I2PEndian.h"
|
||||||
#include "Streaming.h"
|
#include "Streaming.h"
|
||||||
#include "Destination.h"
|
#include "Destination.h"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "util/Timestamp.h"
|
#include "util/Timestamp.h"
|
||||||
#include "transport/Transports.h"
|
#include "transport/Transports.h"
|
||||||
#include "tunnel/Tunnel.h"
|
#include "tunnel/Tunnel.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "Daemon.h"
|
#include "Daemon.h"
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include "util/util.h"
|
#include "util/util.h"
|
||||||
#include "Identity.h"
|
#include "Identity.h"
|
||||||
#include "util/Log.h"
|
#include "util/Log.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "AddressBook.h"
|
#include "AddressBook.h"
|
||||||
#include "Destination.h"
|
#include "Destination.h"
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ set(CORE_SRC
|
|||||||
"Identity.cpp"
|
"Identity.cpp"
|
||||||
"LeaseSet.cpp"
|
"LeaseSet.cpp"
|
||||||
"NetDbRequests.cpp"
|
"NetDbRequests.cpp"
|
||||||
"NetDb.cpp"
|
"NetworkDatabase.cpp"
|
||||||
"Profiling.cpp"
|
"Profiling.cpp"
|
||||||
"RouterContext.cpp"
|
"RouterContext.cpp"
|
||||||
"RouterInfo.cpp"
|
"RouterInfo.cpp"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "util/util.h"
|
#include "util/util.h"
|
||||||
#include "crypto/ElGamal.h"
|
#include "crypto/ElGamal.h"
|
||||||
#include "util/Timestamp.h"
|
#include "util/Timestamp.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "Destination.h"
|
#include "Destination.h"
|
||||||
#include "AddressBook.h"
|
#include "AddressBook.h"
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include "crypto/CryptoConst.h"
|
#include "crypto/CryptoConst.h"
|
||||||
#include "LeaseSet.h"
|
#include "LeaseSet.h"
|
||||||
#include "Garlic.h"
|
#include "Garlic.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "Streaming.h"
|
#include "Streaming.h"
|
||||||
#include "Datagram.h"
|
#include "Datagram.h"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "crypto/ElGamal.h"
|
#include "crypto/ElGamal.h"
|
||||||
#include "util/Timestamp.h"
|
#include "util/Timestamp.h"
|
||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "tunnel/Tunnel.h"
|
#include "tunnel/Tunnel.h"
|
||||||
#include "transport/Transports.h"
|
#include "transport/Transports.h"
|
||||||
#include "Garlic.h"
|
#include "Garlic.h"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "crypto/CryptoConst.h"
|
#include "crypto/CryptoConst.h"
|
||||||
#include "util/Log.h"
|
#include "util/Log.h"
|
||||||
#include "util/Timestamp.h"
|
#include "util/Timestamp.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "tunnel/TunnelPool.h"
|
#include "tunnel/TunnelPool.h"
|
||||||
#include "LeaseSet.h"
|
#include "LeaseSet.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "util/Log.h"
|
#include "util/Log.h"
|
||||||
#include "I2NPProtocol.h"
|
#include "I2NPProtocol.h"
|
||||||
#include "transport/Transports.h"
|
#include "transport/Transports.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "NetDbRequests.h"
|
#include "NetDbRequests.h"
|
||||||
|
|
||||||
namespace i2p
|
namespace i2p
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include "transport/Transports.h"
|
#include "transport/Transports.h"
|
||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
#include "Garlic.h"
|
#include "Garlic.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "util/util.h"
|
#include "util/util.h"
|
||||||
|
|
||||||
using namespace i2p::transport;
|
using namespace i2p::transport;
|
@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* @note This file is named NetworkDatabase.h instead of NetDb.h to avoid
|
||||||
|
* a possible nameclash with a file included by boost on case insensitive
|
||||||
|
* filesystems.
|
||||||
|
*/
|
||||||
#ifndef NETDB_H__
|
#ifndef NETDB_H__
|
||||||
#define NETDB_H__
|
#define NETDB_H__
|
||||||
|
|
@ -16,7 +16,7 @@
|
|||||||
#include "util/Log.h"
|
#include "util/Log.h"
|
||||||
#include "Identity.h"
|
#include "Identity.h"
|
||||||
#include "crypto/CryptoConst.h"
|
#include "crypto/CryptoConst.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "util/util.h"
|
#include "util/util.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
#include "util/Timestamp.h"
|
#include "util/Timestamp.h"
|
||||||
#include "I2NPProtocol.h"
|
#include "I2NPProtocol.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "util/util.h"
|
#include "util/util.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
#include "UPnP.h"
|
#include "UPnP.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "util/util.h"
|
#include "util/util.h"
|
||||||
|
|
||||||
#include <miniupnpc/miniupnpc.h>
|
#include <miniupnpc/miniupnpc.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "util/Log.h"
|
#include "util/Log.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "transport/Transports.h"
|
#include "transport/Transports.h"
|
||||||
#include "tunnel/Tunnel.h"
|
#include "tunnel/Tunnel.h"
|
||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include "I2NPProtocol.h"
|
#include "I2NPProtocol.h"
|
||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
#include "Transports.h"
|
#include "Transports.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "NTCPSession.h"
|
#include "NTCPSession.h"
|
||||||
|
|
||||||
using namespace i2p::crypto;
|
using namespace i2p::crypto;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "util/Log.h"
|
#include "util/Log.h"
|
||||||
#include "util/Timestamp.h"
|
#include "util/Timestamp.h"
|
||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "SSU.h"
|
#include "SSU.h"
|
||||||
|
|
||||||
namespace i2p
|
namespace i2p
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include <boost/bind.hpp>
|
#include <boost/bind.hpp>
|
||||||
#include "util/Log.h"
|
#include "util/Log.h"
|
||||||
#include "util/Timestamp.h"
|
#include "util/Timestamp.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "SSU.h"
|
#include "SSU.h"
|
||||||
#include "SSUData.h"
|
#include "SSUData.h"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "crypto/CryptoConst.h"
|
#include "crypto/CryptoConst.h"
|
||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
#include "I2NPProtocol.h"
|
#include "I2NPProtocol.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "Transports.h"
|
#include "Transports.h"
|
||||||
|
|
||||||
using namespace i2p::data;
|
using namespace i2p::data;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include "util/Timestamp.h"
|
#include "util/Timestamp.h"
|
||||||
#include "I2NPProtocol.h"
|
#include "I2NPProtocol.h"
|
||||||
#include "transport/Transports.h"
|
#include "transport/Transports.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "Tunnel.h"
|
#include "Tunnel.h"
|
||||||
|
|
||||||
namespace i2p
|
namespace i2p
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "util/I2PEndian.h"
|
#include "util/I2PEndian.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "util/Log.h"
|
#include "util/Log.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "I2NPProtocol.h"
|
#include "I2NPProtocol.h"
|
||||||
#include "transport/Transports.h"
|
#include "transport/Transports.h"
|
||||||
#include "RouterContext.h"
|
#include "RouterContext.h"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "util/I2PEndian.h"
|
#include "util/I2PEndian.h"
|
||||||
#include "crypto/CryptoConst.h"
|
#include "crypto/CryptoConst.h"
|
||||||
#include "Tunnel.h"
|
#include "Tunnel.h"
|
||||||
#include "NetDb.h"
|
#include "NetworkDatabase.h"
|
||||||
#include "util/Timestamp.h"
|
#include "util/Timestamp.h"
|
||||||
#include "Garlic.h"
|
#include "Garlic.h"
|
||||||
#include "transport/Transports.h"
|
#include "transport/Transports.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user