From 13e89456661371763a32c7a7ed9490142e55a0c8 Mon Sep 17 00:00:00 2001 From: EinMByte Date: Tue, 28 Jul 2015 22:48:38 +0200 Subject: [PATCH] Moved I2PEndian to util/ --- Garlic.cpp | 2 +- HTTPProxy.cpp | 2 +- HTTPServer.cpp | 2 +- I2NPProtocol.cpp | 2 +- I2NPProtocol.h | 2 +- Identity.cpp | 2 +- LeaseSet.cpp | 2 +- NetDb.cpp | 2 +- Reseed.cpp | 2 +- RouterInfo.cpp | 2 +- SOCKS.cpp | 2 +- Streaming.h | 2 +- TransitTunnel.cpp | 2 +- Tunnel.cpp | 2 +- TunnelEndpoint.cpp | 2 +- TunnelGateway.cpp | 2 +- TunnelPool.cpp | 2 +- filelist.mk | 2 +- transport/NTCPSession.cpp | 2 +- transport/SSU.h | 2 +- I2PEndian.cpp => util/I2PEndian.cpp | 0 I2PEndian.h => util/I2PEndian.h | 0 22 files changed, 20 insertions(+), 20 deletions(-) rename I2PEndian.cpp => util/I2PEndian.cpp (100%) rename I2PEndian.h => util/I2PEndian.h (100%) diff --git a/Garlic.cpp b/Garlic.cpp index 96ea89d2..e611addd 100644 --- a/Garlic.cpp +++ b/Garlic.cpp @@ -1,5 +1,5 @@ #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include #include #include "RouterContext.h" diff --git a/HTTPProxy.cpp b/HTTPProxy.cpp index 03e322e9..a5a64431 100644 --- a/HTTPProxy.cpp +++ b/HTTPProxy.cpp @@ -10,7 +10,7 @@ #include "Streaming.h" #include "Destination.h" #include "ClientContext.h" -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include "I2PTunnel.h" namespace i2p diff --git a/HTTPServer.cpp b/HTTPServer.cpp index e5d23c3d..f55fab8d 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -7,7 +7,7 @@ #include "TransitTunnel.h" #include "transport/Transports.h" #include "NetDb.h" -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include "Streaming.h" #include "Destination.h" #include "RouterContext.h" diff --git a/I2NPProtocol.cpp b/I2NPProtocol.cpp index 51127897..7a579825 100644 --- a/I2NPProtocol.cpp +++ b/I2NPProtocol.cpp @@ -1,6 +1,6 @@ #include #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include #include "crypto/ElGamal.h" #include "util/Timestamp.h" diff --git a/I2NPProtocol.h b/I2NPProtocol.h index 28a0e111..d8570330 100644 --- a/I2NPProtocol.h +++ b/I2NPProtocol.h @@ -6,7 +6,7 @@ #include #include #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include "Identity.h" #include "RouterInfo.h" #include "LeaseSet.h" diff --git a/Identity.cpp b/Identity.cpp index 80230630..226e41fb 100644 --- a/Identity.cpp +++ b/Identity.cpp @@ -8,7 +8,7 @@ #include "crypto/ElGamal.h" #include "RouterContext.h" #include "Identity.h" -#include "I2PEndian.h" +#include "util/I2PEndian.h" namespace i2p { diff --git a/LeaseSet.cpp b/LeaseSet.cpp index c815b1ec..f98291c1 100644 --- a/LeaseSet.cpp +++ b/LeaseSet.cpp @@ -1,5 +1,5 @@ #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include #include #include "crypto/CryptoConst.h" diff --git a/NetDb.cpp b/NetDb.cpp index 45236f40..e544d780 100644 --- a/NetDb.cpp +++ b/NetDb.cpp @@ -1,5 +1,5 @@ #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include #include #include diff --git a/Reseed.cpp b/Reseed.cpp index 63cdaa21..5b294675 100644 --- a/Reseed.cpp +++ b/Reseed.cpp @@ -11,7 +11,7 @@ #include #define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include "Reseed.h" #include "Log.h" #include "Identity.h" diff --git a/RouterInfo.cpp b/RouterInfo.cpp index 2e30c90d..e819e419 100644 --- a/RouterInfo.cpp +++ b/RouterInfo.cpp @@ -1,6 +1,6 @@ #include #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include #include #include diff --git a/SOCKS.cpp b/SOCKS.cpp index be68d35d..6e092707 100644 --- a/SOCKS.cpp +++ b/SOCKS.cpp @@ -7,7 +7,7 @@ #include "Streaming.h" #include "Destination.h" #include "ClientContext.h" -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include "I2PTunnel.h" namespace i2p diff --git a/Streaming.h b/Streaming.h index f100a69f..562d5a8e 100644 --- a/Streaming.h +++ b/Streaming.h @@ -11,7 +11,7 @@ #include #include #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include "Identity.h" #include "LeaseSet.h" #include "I2NPProtocol.h" diff --git a/TransitTunnel.cpp b/TransitTunnel.cpp index ed298699..23427d05 100644 --- a/TransitTunnel.cpp +++ b/TransitTunnel.cpp @@ -1,5 +1,5 @@ #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include "Log.h" #include "RouterContext.h" #include "I2NPProtocol.h" diff --git a/Tunnel.cpp b/Tunnel.cpp index 9b13926f..4f95a4c5 100644 --- a/Tunnel.cpp +++ b/Tunnel.cpp @@ -1,5 +1,5 @@ #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include #include #include diff --git a/TunnelEndpoint.cpp b/TunnelEndpoint.cpp index e38701ca..7697e4c1 100644 --- a/TunnelEndpoint.cpp +++ b/TunnelEndpoint.cpp @@ -1,4 +1,4 @@ -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include #include "Log.h" #include "NetDb.h" diff --git a/TunnelGateway.cpp b/TunnelGateway.cpp index 3ef7579a..3fd405ee 100644 --- a/TunnelGateway.cpp +++ b/TunnelGateway.cpp @@ -1,5 +1,5 @@ #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include #include "Log.h" #include "RouterContext.h" diff --git a/TunnelPool.cpp b/TunnelPool.cpp index 598cc373..a790ca66 100644 --- a/TunnelPool.cpp +++ b/TunnelPool.cpp @@ -1,5 +1,5 @@ #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include "crypto/CryptoConst.h" #include "Tunnel.h" #include "NetDb.h" diff --git a/filelist.mk b/filelist.mk index 5a8955fe..d9150a58 100644 --- a/filelist.mk +++ b/filelist.mk @@ -1,7 +1,7 @@ COMMON_SRC = \ transport/NTCPSession.cpp transport/SSU.cpp transport/SSUSession.cpp \ transport/SSUData.cpp transport/Transports.cpp \ - util/util.cpp util/base64.cpp \ + util/util.cpp util/base64.cpp\ crypto/CryptoConst.cpp crypto/aes.cpp crypto/Signature.cpp \ Datagram.cpp Garlic.cpp I2NPProtocol.cpp LeaseSet.cpp \ Log.cpp NetDb.cpp NetDbRequests.cpp Profiling.cpp Reseed.cpp \ diff --git a/transport/NTCPSession.cpp b/transport/NTCPSession.cpp index 4d6123f1..6a79956d 100644 --- a/transport/NTCPSession.cpp +++ b/transport/NTCPSession.cpp @@ -1,6 +1,6 @@ #include #include -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include #include #include "util/base64.h" diff --git a/transport/SSU.h b/transport/SSU.h index 7c756f01..ec0706c2 100644 --- a/transport/SSU.h +++ b/transport/SSU.h @@ -10,7 +10,7 @@ #include #include #include "crypto/aes.h" -#include "I2PEndian.h" +#include "util/I2PEndian.h" #include "Identity.h" #include "RouterInfo.h" #include "I2NPProtocol.h" diff --git a/I2PEndian.cpp b/util/I2PEndian.cpp similarity index 100% rename from I2PEndian.cpp rename to util/I2PEndian.cpp diff --git a/I2PEndian.h b/util/I2PEndian.h similarity index 100% rename from I2PEndian.h rename to util/I2PEndian.h