Changeset View
Changeset View
Standalone View
Standalone View
src/init.h
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
* @note This should only be done after daemonization. | * @note This should only be done after daemonization. | ||||
* @pre Parameters should be parsed and config file should be read, | * @pre Parameters should be parsed and config file should be read, | ||||
* AppInitLockDataDirectory should have been called. | * AppInitLockDataDirectory should have been called. | ||||
*/ | */ | ||||
bool AppInitMain(Config &config, | bool AppInitMain(Config &config, | ||||
HTTPRPCRequestProcessor &httpRPCRequestProcessor); | HTTPRPCRequestProcessor &httpRPCRequestProcessor); | ||||
/** The help message mode determines what help message to show */ | /** The help message mode determines what help message to show */ | ||||
enum HelpMessageMode { HMM_BITCOIND, HMM_BITCOIN_QT }; | enum class HelpMessageMode { BITCOIND, BITCOIN_QT }; | ||||
/** Help for options shared between UI and daemon (for -help) */ | /** Help for options shared between UI and daemon (for -help) */ | ||||
std::string HelpMessage(HelpMessageMode mode); | std::string HelpMessage(HelpMessageMode mode); | ||||
/** Returns licensing information (for -version) */ | /** Returns licensing information (for -version) */ | ||||
std::string LicenseInfo(); | std::string LicenseInfo(); | ||||
#endif // BITCOIN_INIT_H | #endif // BITCOIN_INIT_H |