Browse Source

Move Log.h/cpp to util/

pull/239/head
EinMByte 9 years ago
parent
commit
c8190d0020
  1. 2
      AddressBook.cpp
  2. 2
      AddressBook.h
  3. 2
      BOB.cpp
  4. 2
      ClientContext.cpp
  5. 2
      Daemon.cpp
  6. 2
      DaemonLinux.cpp
  7. 2
      DaemonWin32.cpp
  8. 2
      Datagram.cpp
  9. 2
      Destination.cpp
  10. 2
      HTTPServer.cpp
  11. 2
      I2PControl.cpp
  12. 2
      I2PTunnel.cpp
  13. 2
      LeaseSet.cpp
  14. 2
      NetDb.cpp
  15. 2
      NetDbRequests.cpp
  16. 2
      Reseed.cpp
  17. 2
      RouterInfo.cpp
  18. 2
      SAM.cpp
  19. 2
      Streaming.cpp
  20. 2
      TransitTunnel.cpp
  21. 2
      Tunnel.cpp
  22. 2
      TunnelEndpoint.cpp
  23. 2
      TunnelGateway.cpp
  24. 2
      UPnP.cpp
  25. 2
      api.cpp
  26. 2
      build/CMakeLists.txt
  27. 2
      crypto/ElGamal.h
  28. 2
      crypto/Signature.cpp
  29. 4
      filelist.mk
  30. 2
      transport/NTCPSession.cpp
  31. 2
      transport/SSU.cpp
  32. 2
      transport/SSUData.cpp
  33. 2
      transport/SSUSession.cpp
  34. 2
      transport/Transports.cpp
  35. 0
      util/Log.cpp
  36. 2
      util/Log.h

2
AddressBook.cpp

@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
#include "util/base64.h"
#include "util/util.h"
#include "Identity.h"
#include "Log.h"
#include "util/Log.h"
#include "NetDb.h"
#include "ClientContext.h"
#include "AddressBook.h"

2
AddressBook.h

@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
#include "util/base64.h"
#include "util/util.h"
#include "Identity.h"
#include "Log.h"
#include "util/Log.h"
namespace i2p
{

2
BOB.cpp

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#include <string.h>
#include <boost/lexical_cast.hpp>
#include "Log.h"
#include "util/Log.h"
#include "ClientContext.h"
#include "BOB.h"

2
ClientContext.cpp

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/ini_parser.hpp>
#include "util/util.h"
#include "Log.h"
#include "util/Log.h"
#include "Identity.h"
#include "ClientContext.h"

2
Daemon.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include "Daemon.h"
#include "Log.h"
#include "util/Log.h"
#include "version.h"
#include "transport/Transports.h"
#include "transport/NTCPSession.h"

2
DaemonLinux.cpp

@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include "Log.h"
#include "util/Log.h"
#include "util/util.h"

2
DaemonWin32.cpp

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#include "Daemon.h"
#include "util/util.h"
#include "Log.h"
#include "util/Log.h"
#ifdef _WIN32

2
Datagram.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include <vector>
#include <cryptopp/sha.h>
#include <cryptopp/gzip.h>
#include "Log.h"
#include "util/Log.h"
#include "TunnelBase.h"
#include "RouterContext.h"
#include "Destination.h"

2
Destination.cpp

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#include <algorithm>
#include <cassert>
#include <boost/lexical_cast.hpp>
#include "Log.h"
#include "util/Log.h"
#include "util/util.h"
#include "crypto/ElGamal.h"
#include "util/Timestamp.h"

2
HTTPServer.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include <boost/lexical_cast.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include "util/base64.h"
#include "Log.h"
#include "util/Log.h"
#include "Tunnel.h"
#include "TransitTunnel.h"
#include "transport/Transports.h"

2
I2PControl.cpp

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
#if !GCC47_BOOST149
#include <boost/property_tree/json_parser.hpp>
#endif
#include "Log.h"
#include "util/Log.h"
#include "NetDb.h"
#include "RouterContext.h"
#include "Daemon.h"

2
I2PTunnel.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#include <cassert>
#include "Log.h"
#include "util/Log.h"
#include "Destination.h"
#include "ClientContext.h"
#include "I2PTunnel.h"

2
LeaseSet.cpp

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
#include <cryptopp/dsa.h>
#include <cryptopp/osrng.h>
#include "crypto/CryptoConst.h"
#include "Log.h"
#include "util/Log.h"
#include "util/Timestamp.h"
#include "NetDb.h"
#include "TunnelPool.h"

2
NetDb.cpp

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
#include <boost/asio.hpp>
#include <cryptopp/gzip.h>
#include "util/base64.h"
#include "Log.h"
#include "util/Log.h"
#include "util/Timestamp.h"
#include "I2NPProtocol.h"
#include "Tunnel.h"

2
NetDbRequests.cpp

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#include "Log.h"
#include "util/Log.h"
#include "I2NPProtocol.h"
#include "transport/Transports.h"
#include "NetDb.h"

2
Reseed.cpp

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
#include <cryptopp/arc4.h>
#include "util/I2PEndian.h"
#include "Reseed.h"
#include "Log.h"
#include "util/Log.h"
#include "Identity.h"
#include "crypto/CryptoConst.h"
#include "NetDb.h"

2
RouterInfo.cpp

@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
#include "crypto/CryptoConst.h"
#include "util/base64.h"
#include "util/Timestamp.h"
#include "Log.h"
#include "util/Log.h"
#include "RouterInfo.h"
#include "RouterContext.h"

2
SAM.cpp

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
#include <boost/lexical_cast.hpp>
#include "util/base64.h"
#include "Identity.h"
#include "Log.h"
#include "util/Log.h"
#include "Destination.h"
#include "ClientContext.h"
#include "SAM.h"

2
Streaming.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#include <cryptopp/gzip.h>
#include "Log.h"
#include "util/Log.h"
#include "RouterInfo.h"
#include "RouterContext.h"
#include "Tunnel.h"

2
TransitTunnel.cpp

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#include <string.h>
#include "util/I2PEndian.h"
#include "Log.h"
#include "util/Log.h"
#include "RouterContext.h"
#include "I2NPProtocol.h"
#include "Tunnel.h"

2
Tunnel.cpp

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
#include <vector>
#include <cryptopp/sha.h>
#include "RouterContext.h"
#include "Log.h"
#include "util/Log.h"
#include "util/Timestamp.h"
#include "I2NPProtocol.h"
#include "transport/Transports.h"

2
TunnelEndpoint.cpp

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#include "util/I2PEndian.h"
#include <string.h>
#include "Log.h"
#include "util/Log.h"
#include "NetDb.h"
#include "I2NPProtocol.h"
#include "transport/Transports.h"

2
TunnelGateway.cpp

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#include <string.h>
#include "util/I2PEndian.h"
#include <cryptopp/sha.h>
#include "Log.h"
#include "util/Log.h"
#include "RouterContext.h"
#include "transport/Transports.h"
#include "TunnelGateway.h"

2
UPnP.cpp

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
#include <dlfcn.h>
#endif
#include "Log.h"
#include "util/Log.h"
#include "RouterContext.h"
#include "UPnP.h"

2
api.cpp

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#include <string>
#include <map>
#include "Log.h"
#include "util/Log.h"
#include "NetDb.h"
#include "transport/Transports.h"
#include "Tunnel.h"

2
build/CMakeLists.txt

@ -25,12 +25,12 @@ set (COMMON_SRC @@ -25,12 +25,12 @@ set (COMMON_SRC
"${CMAKE_SOURCE_DIR}/crypto/Signature.cpp"
"${CMAKE_SOURCE_DIR}/util/base64.cpp"
"${CMAKE_SOURCE_DIR}/util/util.cpp"
"${CMAKE_SOURCE_DIR}/util/Log.cpp"
"${CMAKE_SOURCE_DIR}/AddressBook.cpp"
"${CMAKE_SOURCE_DIR}/Garlic.cpp"
"${CMAKE_SOURCE_DIR}/I2NPProtocol.cpp"
"${CMAKE_SOURCE_DIR}/Identity.cpp"
"${CMAKE_SOURCE_DIR}/LeaseSet.cpp"
"${CMAKE_SOURCE_DIR}/Log.cpp"
"${CMAKE_SOURCE_DIR}/NetDbRequests.cpp"
"${CMAKE_SOURCE_DIR}/NetDb.cpp"
"${CMAKE_SOURCE_DIR}/Profiling.cpp"

2
crypto/ElGamal.h

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
#include <cryptopp/dh.h>
#include <cryptopp/sha.h>
#include "CryptoConst.h"
#include "Log.h"
#include "util/Log.h"
namespace i2p
{

2
crypto/Signature.cpp

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#include <memory>
#include <cryptopp/integer.h>
#include <cryptopp/eccrypto.h>
#include "Log.h"
#include "util/Log.h"
#include "Signature.h"
namespace i2p

4
filelist.mk

@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
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 util/Log.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 \
NetDb.cpp NetDbRequests.cpp Profiling.cpp Reseed.cpp \
RouterContext.cpp RouterInfo.cpp Streaming.cpp Identity.cpp \
TransitTunnel.cpp Tunnel.cpp TunnelEndpoint.cpp TunnelPool.cpp \
TunnelGateway.cpp Destination.cpp UPnP.cpp

2
transport/NTCPSession.cpp

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
#include <cryptopp/dh.h>
#include <cryptopp/adler32.h>
#include "util/base64.h"
#include "Log.h"
#include "util/Log.h"
#include "util/Timestamp.h"
#include "crypto/CryptoConst.h"
#include "I2NPProtocol.h"

2
transport/SSU.cpp

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#include <string.h>
#include <boost/bind.hpp>
#include "Log.h"
#include "util/Log.h"
#include "util/Timestamp.h"
#include "RouterContext.h"
#include "NetDb.h"

2
transport/SSUData.cpp

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#include <stdlib.h>
#include <boost/bind.hpp>
#include "Log.h"
#include "util/Log.h"
#include "util/Timestamp.h"
#include "NetDb.h"
#include "SSU.h"

2
transport/SSUSession.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include <cryptopp/dh.h>
#include <cryptopp/sha.h>
#include "crypto/CryptoConst.h"
#include "Log.h"
#include "util/Log.h"
#include "util/Timestamp.h"
#include "RouterContext.h"
#include "Transports.h"

2
transport/Transports.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#include <cryptopp/dh.h>
#include "Log.h"
#include "util/Log.h"
#include "crypto/CryptoConst.h"
#include "RouterContext.h"
#include "I2NPProtocol.h"

0
Log.cpp → util/Log.cpp

2
Log.h → util/Log.h

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
#include <fstream>
#include <functional>
#include <chrono>
#include "util/Queue.h"
#include "Queue.h"
enum LogLevel
{
Loading…
Cancel
Save