You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

init.h 769B

1234567891011121314151617181920212223242526272829303132333435
  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. #ifndef BITCOIN_INIT_H
  6. #define BITCOIN_INIT_H
  7. #include <string>
  8. class CWallet;
  9. namespace boost {
  10. class thread_group;
  11. };
  12. extern std::string strWalletFile;
  13. extern CWallet* pwalletMain;
  14. void StartShutdown();
  15. bool ShutdownRequested();
  16. void Shutdown();
  17. bool AppInit2(boost::thread_group& threadGroup, bool fForceServer);
  18. /* The help message mode determines what help message to show */
  19. enum HelpMessageMode
  20. {
  21. HMM_BITCOIND,
  22. HMM_BITCOIN_QT,
  23. HMM_BITCOIN_CLI
  24. };
  25. std::string HelpMessage(HelpMessageMode mode);
  26. #endif