This commit is contained in:
manojsdoshi
2020-04-24 01:09:47 +00:00
parent 4ad595bf18
commit 430f6c0cf3
2864 changed files with 304301 additions and 292875 deletions

View File

@@ -111,33 +111,43 @@ $(function() {
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">namespace </span>RPCCall {</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keywordtype">int</span> <a class="code" href="namespaceripple_1_1RPCCall.html#a1a95d65d49327d8f4cc8c1bf142cc0eb">fromCommandLine</a> (</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; Config <span class="keyword">const</span>&amp; config,</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a>&amp; vCmd,</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; Logs&amp; logs);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceripple_1_1RPCCall.html#a9817ac845ca5041cf35be3ef4750a9f2">fromNetwork</a> (</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; boost::asio::io_service&amp; io_service,</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strIp, <span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> iPort,</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strUsername, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strPassword,</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strPath, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strMethod,</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jvParams, <span class="keyword">const</span> <span class="keywordtype">bool</span> bSSL, <span class="keywordtype">bool</span> quiet,</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; Logs&amp; logs,</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span> (<a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jvInput)&gt; callbackFuncP = <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span> (<a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jvInput)&gt; (),</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map&lt;std::string, std::string&gt;</a> headers = {});</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;}</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<a class="code" href="namespaceripple.html#aa9714d222b28553ab9f4e9baf34be4ff">cmdLineToJSONRPC</a> (<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; args, <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;int, Json::Value&gt;</a></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<a class="code" href="namespaceripple.html#a425645d42dd2466ffc69e73fc6861b3d">rpcClient</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; args,</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; Config <span class="keyword">const</span>&amp; config, Logs&amp; logs,</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map&lt;std::string, std::string&gt;</a> <span class="keyword">const</span>&amp; headers = {});</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;} <span class="comment">// ripple</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keywordtype">int</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<a class="code" href="namespaceripple_1_1RPCCall.html#a1a95d65d49327d8f4cc8c1bf142cc0eb">fromCommandLine</a>(</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; Config <span class="keyword">const</span>&amp; config,</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a>&amp; vCmd,</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; Logs&amp; logs);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<a class="code" href="namespaceripple_1_1RPCCall.html#a9817ac845ca5041cf35be3ef4750a9f2">fromNetwork</a>(</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; boost::asio::io_service&amp; io_service,</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strIp,</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> iPort,</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strUsername,</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strPassword,</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strPath,</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strMethod,</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jvParams,</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">const</span> <span class="keywordtype">bool</span> bSSL,</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordtype">bool</span> quiet,</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; Logs&amp; logs,</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span>(<a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jvInput)&gt; callbackFuncP =</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span>(<a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jvInput)&gt;(),</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map&lt;std::string, std::string&gt;</a> headers = {});</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;} <span class="comment">// namespace RPCCall</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<a class="code" href="namespaceripple.html#aa9714d222b28553ab9f4e9baf34be4ff">cmdLineToJSONRPC</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; args, <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;int, Json::Value&gt;</a></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<a class="code" href="namespaceripple.html#a425645d42dd2466ffc69e73fc6861b3d">rpcClient</a>(</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; args,</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; Config <span class="keyword">const</span>&amp; config,</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; Logs&amp; logs,</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map&lt;std::string, std::string&gt;</a> <span class="keyword">const</span>&amp; headers = {});</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="autility_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a></div></div>
@@ -145,15 +155,15 @@ $(function() {
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt; int, Json::Value &gt;</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/vector.html">vector</a></div></div>
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00060">Journal.h:60</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00058">Journal.h:58</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPCCall_html_a1a95d65d49327d8f4cc8c1bf142cc0eb"><div class="ttname"><a href="namespaceripple_1_1RPCCall.html#a1a95d65d49327d8f4cc8c1bf142cc0eb">ripple::RPCCall::fromCommandLine</a></div><div class="ttdeci">int fromCommandLine(Config const &amp;config, const std::vector&lt; std::string &gt; &amp;vCmd, Logs &amp;logs)</div><div class="ttdef"><b>Definition:</b> <a href="RPCCall_8cpp_source.html#l01575">RPCCall.cpp:1575</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPCCall_html_a1a95d65d49327d8f4cc8c1bf142cc0eb"><div class="ttname"><a href="namespaceripple_1_1RPCCall.html#a1a95d65d49327d8f4cc8c1bf142cc0eb">ripple::RPCCall::fromCommandLine</a></div><div class="ttdeci">int fromCommandLine(Config const &amp;config, const std::vector&lt; std::string &gt; &amp;vCmd, Logs &amp;logs)</div><div class="ttdef"><b>Definition:</b> <a href="RPCCall_8cpp_source.html#l01664">RPCCall.cpp:1664</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa9714d222b28553ab9f4e9baf34be4ff"><div class="ttname"><a href="namespaceripple.html#aa9714d222b28553ab9f4e9baf34be4ff">ripple::cmdLineToJSONRPC</a></div><div class="ttdeci">Json::Value cmdLineToJSONRPC(std::vector&lt; std::string &gt; const &amp;args, beast::Journal j)</div><div class="ttdoc">Given a rippled command line, return the corresponding JSON.</div><div class="ttdef"><b>Definition:</b> <a href="RPCCall_8cpp_source.html#l01403">RPCCall.cpp:1403</a></div></div>
<div class="ttc" id="anamespaceripple_html_a425645d42dd2466ffc69e73fc6861b3d"><div class="ttname"><a href="namespaceripple.html#a425645d42dd2466ffc69e73fc6861b3d">ripple::rpcClient</a></div><div class="ttdeci">std::pair&lt; int, Json::Value &gt; rpcClient(std::vector&lt; std::string &gt; const &amp;args, Config const &amp;config, Logs &amp;logs, std::unordered_map&lt; std::string, std::string &gt; const &amp;headers)</div><div class="ttdoc">Internal invocation of RPC client.</div><div class="ttdef"><b>Definition:</b> <a href="RPCCall_8cpp_source.html#l01433">RPCCall.cpp:1433</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPCCall_html_a9817ac845ca5041cf35be3ef4750a9f2"><div class="ttname"><a href="namespaceripple_1_1RPCCall.html#a9817ac845ca5041cf35be3ef4750a9f2">ripple::RPCCall::fromNetwork</a></div><div class="ttdeci">void fromNetwork(boost::asio::io_service &amp;io_service, std::string const &amp;strIp, const std::uint16_t iPort, std::string const &amp;strUsername, std::string const &amp;strPassword, std::string const &amp;strPath, std::string const &amp;strMethod, Json::Value const &amp;jvParams, const bool bSSL, const bool quiet, Logs &amp;logs, std::function&lt; void(Json::Value const &amp;jvInput)&gt; callbackFuncP, std::unordered_map&lt; std::string, std::string &gt; headers)</div><div class="ttdef"><b>Definition:</b> <a href="RPCCall_8cpp_source.html#l01589">RPCCall.cpp:1589</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa9714d222b28553ab9f4e9baf34be4ff"><div class="ttname"><a href="namespaceripple.html#aa9714d222b28553ab9f4e9baf34be4ff">ripple::cmdLineToJSONRPC</a></div><div class="ttdeci">Json::Value cmdLineToJSONRPC(std::vector&lt; std::string &gt; const &amp;args, beast::Journal j)</div><div class="ttdoc">Given a rippled command line, return the corresponding JSON.</div><div class="ttdef"><b>Definition:</b> <a href="RPCCall_8cpp_source.html#l01482">RPCCall.cpp:1482</a></div></div>
<div class="ttc" id="anamespaceripple_html_a425645d42dd2466ffc69e73fc6861b3d"><div class="ttname"><a href="namespaceripple.html#a425645d42dd2466ffc69e73fc6861b3d">ripple::rpcClient</a></div><div class="ttdeci">std::pair&lt; int, Json::Value &gt; rpcClient(std::vector&lt; std::string &gt; const &amp;args, Config const &amp;config, Logs &amp;logs, std::unordered_map&lt; std::string, std::string &gt; const &amp;headers)</div><div class="ttdoc">Internal invocation of RPC client.</div><div class="ttdef"><b>Definition:</b> <a href="RPCCall_8cpp_source.html#l01513">RPCCall.cpp:1513</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPCCall_html_a9817ac845ca5041cf35be3ef4750a9f2"><div class="ttname"><a href="namespaceripple_1_1RPCCall.html#a9817ac845ca5041cf35be3ef4750a9f2">ripple::RPCCall::fromNetwork</a></div><div class="ttdeci">void fromNetwork(boost::asio::io_service &amp;io_service, std::string const &amp;strIp, const std::uint16_t iPort, std::string const &amp;strUsername, std::string const &amp;strPassword, std::string const &amp;strPath, std::string const &amp;strMethod, Json::Value const &amp;jvParams, const bool bSSL, const bool quiet, Logs &amp;logs, std::function&lt; void(Json::Value const &amp;jvInput)&gt; callbackFuncP, std::unordered_map&lt; std::string, std::string &gt; headers)</div><div class="ttdef"><b>Definition:</b> <a href="RPCCall_8cpp_source.html#l01679">RPCCall.cpp:1679</a></div></div>
<div class="ttc" id="aunordered_map_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/unordered_map.html">unordered_map</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00141">json_value.h:141</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00145">json_value.h:145</a></div></div>
<div class="ttc" id="astring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/string.html">string</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>