Files
thehub/hub/server/init.h
T

47 lines
1.3 KiB
C++
Raw Permalink Normal View History

2017-11-09 19:34:51 +01:00
/*
* This file is part of the Flowee project
* Copyright (C) 2009-2010 Satoshi Nakamoto
* Copyright (C) 2009-2015 The Bitcoin Core developers
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2013-04-13 00:13:08 -05:00
2018-01-16 10:47:52 +00:00
#ifndef FLOWEE_INIT_H
#define FLOWEE_INIT_H
2010-07-14 15:54:31 +00:00
2013-10-19 18:42:14 +02:00
#include <string>
class CScheduler;
2013-10-19 18:42:14 +02:00
class CWallet;
2012-04-15 22:10:54 +02:00
namespace boost
{
class thread_group;
} // namespace boost
2013-04-13 00:13:08 -05:00
2011-06-01 18:28:20 +02:00
extern CWallet* pwalletMain;
void StartShutdown();
bool ShutdownRequested();
2015-01-23 07:53:17 +01:00
/** Interrupt threads */
void Interrupt(boost::thread_group& threadGroup);
2013-03-09 12:02:57 -05:00
void Shutdown();
//!Initialize the logging infrastructure
void InitLogging();
//!Parameter interaction: change current parameters depending on various rules
void InitParameterInteraction();
bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler);
2017-02-21 13:44:48 +01:00
2018-01-16 10:47:52 +00:00
#endif