//------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. */ //============================================================================== /** Add this to get the @ref ripple_basics module. @file ripple_basics.cpp @ingroup ripple_basics */ #include #include // These are for Sustain Linux variants #ifdef __linux__ #include #include #include #endif #ifdef __FreeBSD__ #include #include #endif #include #include #include #include // for stupid parseIpPort #include // VFALCO TODO Replace OpenSSL randomness with a dependency-free implementation // Perhaps Schneier's Fortuna or a variant. Abstract the collection of // entropy and provide OS-specific implementation. We can re-use the // BearShare source code for this. // // Add Random number generation to the new VFLib // #include // Because of ripple_RandomNumbers.cpp #include "ripple_basics.h" // VFALCO TODO fix these warnings! #ifdef _MSC_VER //#pragma warning (push) // Causes spurious C4503 "decorated name exceeds maximum length" //#pragma warning (disable: 4018) // signed/unsigned mismatch //#pragma warning (disable: 4244) // conversion, possible loss of data #endif #include "containers/ripple_RangeSet.cpp" #include "containers/ripple_TaggedCache.cpp" #include "utility/ripple_Log.cpp" #include "utility/ripple_ByteOrder.cpp" #include "utility/ripple_CountedObject.cpp" #include "utility/ripple_DiffieHellmanUtil.cpp" #include "utility/ripple_StringUtilities.cpp" #include "utility/ripple_Sustain.cpp" #include "utility/ripple_ThreadName.cpp" #include "utility/ripple_Time.cpp" #include "utility/ripple_UptimeTimer.cpp" #ifdef WIN32 #include // for ripple_RandomNumbers.cpp #include // for ripple_RandomNumbers.cpp // Winsock #defines 'max' and does other stupid things so put it last #include // for ripple_ByteOrder.cpp #endif #include "utility/ripple_RandomNumbers.cpp" // has Win32/Posix dependencies #include "types/ripple_UInt256.cpp" #ifdef _MSC_VER //#pragma warning (pop) #endif