Browse Source

NetDb.h -> NetDb.hpp for case insensative file systems clashing with libc's netdb.h

pull/860/head
Jeff Becker 7 years ago
parent
commit
e238f7ed37
  1. 2
      Win32/Win32App.cpp
  2. 2
      Win32/i2pd.vcxproj
  3. 2
      Win32/i2pd.vcxproj.filters
  4. 2
      daemon/Daemon.cpp
  5. 2
      daemon/HTTPServer.cpp
  6. 2
      daemon/I2PControl.cpp
  7. 2
      daemon/UPnP.cpp
  8. 2
      libi2pd/Destination.cpp
  9. 2
      libi2pd/Destination.h
  10. 2
      libi2pd/I2NPProtocol.cpp
  11. 2
      libi2pd/LeaseSet.cpp
  12. 2
      libi2pd/NTCPSession.cpp
  13. 2
      libi2pd/NetDb.cpp
  14. 2
      libi2pd/NetDb.hpp
  15. 2
      libi2pd/NetDbRequests.cpp
  16. 2
      libi2pd/Reseed.cpp
  17. 2
      libi2pd/RouterContext.cpp
  18. 2
      libi2pd/RouterInfo.cpp
  19. 2
      libi2pd/SSU.cpp
  20. 2
      libi2pd/SSUData.cpp
  21. 2
      libi2pd/SSUSession.cpp
  22. 2
      libi2pd/Transports.cpp
  23. 2
      libi2pd/Tunnel.cpp
  24. 2
      libi2pd/TunnelEndpoint.cpp
  25. 2
      libi2pd/TunnelPool.cpp
  26. 2
      libi2pd/api.cpp
  27. 2
      libi2pd_client/AddressBook.cpp

2
Win32/Win32App.cpp

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
#include <shellapi.h>
#include "ClientContext.h"
#include "Config.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "RouterContext.h"
#include "Transports.h"
#include "Tunnel.h"

2
Win32/i2pd.vcxproj

@ -83,7 +83,7 @@ @@ -83,7 +83,7 @@
<ClInclude Include="..\LittleBigEndian.h" />
<ClInclude Include="..\Log.h" />
<ClInclude Include="..\NetDbRequests.h" />
<ClInclude Include="..\NetDb.h" />
<ClInclude Include="..\NetDb.hpp" />
<ClInclude Include="..\NTCPSession.h" />
<ClInclude Include="..\Queue.h" />
<ClInclude Include="..\Profiling.h" />

2
Win32/i2pd.vcxproj.filters

@ -158,7 +158,7 @@ @@ -158,7 +158,7 @@
<ClInclude Include="..\Log.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\NetDb.h">
<ClInclude Include="..\NetDb.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\NTCPSession.h">

2
daemon/Daemon.cpp

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
#include "RouterContext.h"
#include "Tunnel.h"
#include "HTTP.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Garlic.h"
#include "Streaming.h"
#include "Destination.h"

2
daemon/HTTPServer.cpp

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
#include "Tunnel.h"
#include "TransitTunnel.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "HTTP.h"
#include "LeaseSet.h"
#include "Destination.h"

2
daemon/I2PControl.cpp

@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
#include "FS.h"
#include "Log.h"
#include "Config.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "RouterContext.h"
#include "Daemon.h"
#include "Tunnel.h"

2
daemon/UPnP.cpp

@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
#include "RouterContext.h"
#include "UPnP.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "util.h"
#include "RouterInfo.h"
#include "Config.h"

2
libi2pd/Destination.cpp

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
#include "Log.h"
#include "FS.h"
#include "Timestamp.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Destination.h"
#include "util.h"

2
libi2pd/Destination.h

@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
#include "Crypto.h"
#include "LeaseSet.h"
#include "Garlic.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Streaming.h"
#include "Datagram.h"

2
libi2pd/I2NPProtocol.cpp

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
#include "I2PEndian.h"
#include "Timestamp.h"
#include "RouterContext.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Tunnel.h"
#include "Transports.h"
#include "Garlic.h"

2
libi2pd/LeaseSet.cpp

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
#include "Crypto.h"
#include "Log.h"
#include "Timestamp.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Tunnel.h"
#include "LeaseSet.h"

2
libi2pd/NTCPSession.cpp

@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
#include "I2NPProtocol.h"
#include "RouterContext.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "NTCPSession.h"
#ifdef WITH_EVENTS
#include "Event.h"

2
libi2pd/NetDb.cpp

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
#include "Transports.h"
#include "RouterContext.h"
#include "Garlic.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Config.h"
using namespace i2p::transport;

2
libi2pd/NetDb.h → libi2pd/NetDb.hpp

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#ifndef NETDB_H__
#define NETDB_H__
// this file is called NetDb.hpp to resolve conflict with libc's netdb.h on case insensitive fs
#include <inttypes.h>
#include <set>
#include <map>

2
libi2pd/NetDbRequests.cpp

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#include "Log.h"
#include "I2NPProtocol.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "NetDbRequests.h"
namespace i2p

2
libi2pd/Reseed.cpp

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
#include "FS.h"
#include "Log.h"
#include "Identity.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "HTTP.h"
#include "util.h"
#include "Config.h"

2
libi2pd/RouterContext.cpp

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
#include "Crypto.h"
#include "Timestamp.h"
#include "I2NPProtocol.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "FS.h"
#include "util.h"
#include "version.h"

2
libi2pd/RouterInfo.cpp

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
#include "Base.h"
#include "Timestamp.h"
#include "Log.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "RouterContext.h"
#include "RouterInfo.h"

2
libi2pd/SSU.cpp

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
#include "Log.h"
#include "Timestamp.h"
#include "RouterContext.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "SSU.h"
namespace i2p

2
libi2pd/SSUData.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include <boost/bind.hpp>
#include "Log.h"
#include "Timestamp.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "SSU.h"
#include "SSUData.h"
#ifdef WITH_EVENTS

2
libi2pd/SSUSession.cpp

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
#include "Timestamp.h"
#include "RouterContext.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "SSU.h"
#include "SSUSession.h"

2
libi2pd/Transports.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include "Crypto.h"
#include "RouterContext.h"
#include "I2NPProtocol.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Transports.h"
#include "Config.h"
#ifdef WITH_EVENTS

2
libi2pd/Tunnel.cpp

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
#include "Timestamp.h"
#include "I2NPProtocol.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Config.h"
#include "Tunnel.h"
#include "TunnelPool.h"

2
libi2pd/TunnelEndpoint.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include <string.h>
#include "Crypto.h"
#include "Log.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "I2NPProtocol.h"
#include "Transports.h"
#include "RouterContext.h"

2
libi2pd/TunnelPool.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include "I2PEndian.h"
#include "Crypto.h"
#include "Tunnel.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Timestamp.h"
#include "Garlic.h"
#include "Transports.h"

2
libi2pd/api.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include <map>
#include "Config.h"
#include "Log.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Transports.h"
#include "Tunnel.h"
#include "RouterContext.h"

2
libi2pd_client/AddressBook.cpp

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
#include "FS.h"
#include "Log.h"
#include "HTTP.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "ClientContext.h"
#include "AddressBook.h"
#include "Config.h"

Loading…
Cancel
Save