mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
21 lines
627 B
C++
21 lines
627 B
C++
//------------------------------------------------------------------------------
|
|
/*
|
|
Copyright (c) 2011-2013, OpenCoin, Inc.
|
|
*/
|
|
//==============================================================================
|
|
|
|
#ifndef RIPPLE_SUSTAIN_H
|
|
#define RIPPLE_SUSTAIN_H
|
|
|
|
// "Sustain" is a system for a buddy process that monitors the main process
|
|
// and relaunches it on a fault.
|
|
//
|
|
// VFALCO TODO Rename this and put it in a class.
|
|
// VFALCO TODO Reimplement cross-platform using beast::Process and its ilk
|
|
//
|
|
extern bool HaveSustain ();
|
|
extern std::string StopSustain ();
|
|
extern std::string DoSustain (std::string logFile);
|
|
|
|
#endif
|