mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 12:35:50 +00:00
Reorganize source file hierarchy:
* Rename unity files * Move some modules to new subdirectories * Remove obsolete Visual Studio project files * Remove obsolete coding style and TODO list
This commit is contained in:
60
src/ripple/unity/basics.cpp
Normal file
60
src/ripple/unity/basics.cpp
Normal file
@@ -0,0 +1,60 @@
|
||||
//------------------------------------------------------------------------------
|
||||
/*
|
||||
This file is part of rippled: https://github.com/ripple/rippled
|
||||
Copyright (c) 2012, 2013 Ripple Labs Inc.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#include "../../BeastConfig.h"
|
||||
|
||||
#include <ripple/unity/basics.h>
|
||||
|
||||
#include <beast/module/core/system/BeforeBoost.h>
|
||||
#include <boost/asio.hpp> // For StringUtilities.cpp
|
||||
|
||||
#include <fstream> // for Log files
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// For Sustain Linux variants
|
||||
//
|
||||
// VFALCO TODO Rewrite Sustain to use beast::Process
|
||||
#ifdef __linux__
|
||||
#include <sys/types.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#include <ripple/module/basics/containers/RangeSet.cpp>
|
||||
#include <ripple/module/basics/system/CheckLibraryVersions.cpp>
|
||||
|
||||
#include <ripple/module/basics/log/Log.cpp>
|
||||
#include <ripple/module/basics/log/LogFile.cpp>
|
||||
#include <ripple/module/basics/log/LogPartition.cpp>
|
||||
#include <ripple/module/basics/log/LogSink.cpp>
|
||||
|
||||
#include <ripple/module/basics/utility/CountedObject.cpp>
|
||||
#include <ripple/module/basics/utility/IniFile.cpp>
|
||||
#include <ripple/module/basics/utility/StringUtilities.cpp>
|
||||
#include <ripple/module/basics/utility/Sustain.cpp>
|
||||
#include <ripple/module/basics/utility/ThreadName.cpp>
|
||||
#include <ripple/module/basics/utility/Time.cpp>
|
||||
#include <ripple/module/basics/utility/UptimeTimer.cpp>
|
||||
Reference in New Issue
Block a user