Bitcoin ABC  0.26.3
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 
11 class ArgsManager;
12 
13 namespace init {
14 void SetGlobals();
15 void UnsetGlobals();
20 bool SanityChecks();
21 void AddLoggingArgs(ArgsManager &args);
22 void SetLoggingOptions(const ArgsManager &args);
23 void SetLoggingCategories(const ArgsManager &args);
24 bool StartLogging(const ArgsManager &args);
25 void LogPackageVersion();
26 } // namespace init
27 
28 #endif // BITCOIN_INIT_COMMON_H
Definition: common.cpp:28
void AddLoggingArgs(ArgsManager &argsman)
Definition: common.cpp:64
void SetLoggingCategories(const ArgsManager &args)
Definition: common.cpp:160
bool SanityChecks()
Ensure a usable environment with all necessary library support.
Definition: common.cpp:42
void SetGlobals()
Definition: common.cpp:29
bool StartLogging(const ArgsManager &args)
Definition: common.cpp:188
void SetLoggingOptions(const ArgsManager &args)
Definition: common.cpp:139
void UnsetGlobals()
Definition: common.cpp:37
void LogPackageVersion()
Definition: common.cpp:236