Begin to bring some sanity to the RPC code.

This commit is contained in:
JoelKatz
2011-12-18 01:23:58 -08:00
parent d9e2f1ebfa
commit 170eb9c4b0
5 changed files with 253 additions and 266 deletions

View File

@@ -1,4 +1,4 @@
#include "json/json_spirit_value.h"
#include "json/value.h"
extern int commandLineRPC(int argc, char *argv[]);
extern json_spirit::Object callRPC(const std::string& strMethod, const json_spirit::Array& params);
extern Json::Value callRPC(const std::string& strMethod, const Json::Value& params);