Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
init.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2013 The Bitcoin developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_INIT_H
7 #define BITCOIN_INIT_H
8 
9 #include <string>
10 
11 class CWallet;
12 
13 namespace boost {
14  class thread_group;
15 };
16 
17 extern std::string strWalletFile;
18 extern CWallet* pwalletMain;
19 
20 void StartShutdown();
21 bool ShutdownRequested();
22 void Shutdown();
23 bool AppInit2(boost::thread_group& threadGroup);
24 
25 /* The help message mode determines what help message to show */
27 {
30 };
31 
32 std::string HelpMessage(HelpMessageMode mode);
33 
34 #endif
bool ShutdownRequested()
Definition: init.cpp:103
Definition: init.h:13
HelpMessageMode
Definition: init.h:26
void Shutdown()
Definition: init.cpp:110
std::string strWalletFile
std::string HelpMessage(HelpMessageMode mode)
Definition: init.cpp:194
bool AppInit2(boost::thread_group &threadGroup)
Initialize bitcoin.
Definition: init.cpp:416
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:100
void StartShutdown()
Definition: init.cpp:99
CWallet * pwalletMain