diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2021-04-18 18:56:12 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2021-04-19 06:11:38 -0400 |
commit | a67b54855b294802d52f09fa60d3f63550cbada7 (patch) | |
tree | d8a205566e506d7c18f77485a7ceaca3f942fd27 /src/init/common.h | |
parent | 13d27b452d4b60010c54d4f80757dea9805076be (diff) | |
download | bitcoin-a67b54855b294802d52f09fa60d3f63550cbada7.tar.xz |
Move common global init code to init/common
Diffstat (limited to 'src/init/common.h')
-rw-r--r-- | src/init/common.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/init/common.h b/src/init/common.h new file mode 100644 index 0000000000..b201232bfc --- /dev/null +++ b/src/init/common.h @@ -0,0 +1,16 @@ +// Copyright (c) 2021 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +//! @file +//! @brief Common init functions shared by bitcoin-node, bitcoin-wallet, etc. + +#ifndef BITCOIN_INIT_COMMON_H +#define BITCOIN_INIT_COMMON_H + +namespace init { +void SetGlobals(); +void UnsetGlobals(); +} // namespace init + +#endif // BITCOIN_INIT_COMMON_H |