aboutsummaryrefslogtreecommitdiff
path: root/src/init.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-10-11 23:09:59 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-10-21 09:22:48 +0200
commit2a03a39020da5ae38f05c38a5bf92c023acdeb90 (patch)
tree0428ba46a5f377dadddf0c570b908043f1fcbeb5 /src/init.h
parentcc7562b7d2dc4eae6e3ab930a2a37cd3c00aac5d (diff)
Add separate bitcoin-rpc client
This adds an executable `bitcoin-rpc` that only serves as a Bitcoin RPC client. The commit does not remove RPC functionality from the `bitcoind` yet, this functionality should be deprecated but is left for a later version to give users some time to switch.
Diffstat (limited to 'src/init.h')
-rw-r--r--src/init.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/init.h b/src/init.h
index e5a2a69293..785a6cdba1 100644
--- a/src/init.h
+++ b/src/init.h
@@ -14,6 +14,15 @@ void StartShutdown();
bool ShutdownRequested();
void Shutdown();
bool AppInit2(boost::thread_group& threadGroup);
-std::string HelpMessage();
+
+/* The help message mode determines what help message to show */
+enum HelpMessageMode
+{
+ HMM_BITCOIND,
+ HMM_BITCOIN_QT,
+ HMM_BITCOIN_CLI
+};
+
+std::string HelpMessage(HelpMessageMode mode);
#endif