Bitcoin ABC 0.30.7
P2P Digital Currency
common.h
Go to the documentation of this file.
1// Copyright (c) 2021 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
7
8#ifndef BITCOIN_INIT_COMMON_H
9#define BITCOIN_INIT_COMMON_H
10
11class ArgsManager;
12
13namespace init {
14void SetGlobals();
15void UnsetGlobals();
20bool SanityChecks();
21void AddLoggingArgs(ArgsManager &args);
22void SetLoggingOptions(const ArgsManager &args);
23void SetLoggingCategories(const ArgsManager &args);
24bool StartLogging(const ArgsManager &args);
26} // namespace init
27
28#endif // BITCOIN_INIT_COMMON_H
Definition: common.cpp:29
void AddLoggingArgs(ArgsManager &argsman)
Definition: common.cpp:65
void SetLoggingCategories(const ArgsManager &args)
Definition: common.cpp:161
bool SanityChecks()
Ensure a usable environment with all necessary library support.
Definition: common.cpp:43
void SetGlobals()
Definition: common.cpp:30
bool StartLogging(const ArgsManager &args)
Definition: common.cpp:189
void SetLoggingOptions(const ArgsManager &args)
Definition: common.cpp:140
void UnsetGlobals()
Definition: common.cpp:38
void LogPackageVersion()
Definition: common.cpp:236