| 83 | } |
| 84 | |
| 85 | static string AvailableDataFormatsString() |
| 86 | { |
| 87 | string formats = ""; |
| 88 | for (unsigned int i = 0; i < ARRAYLEN(rf_names); i++) |
| 89 | if (strlen(rf_names[i].name) > 0) { |
| 90 | formats.append("."); |
| 91 | formats.append(rf_names[i].name); |
| 92 | formats.append(", "); |
| 93 | } |
| 94 | |
| 95 | if (formats.length() > 0) |
| 96 | return formats.substr(0, formats.length() - 2); |
| 97 | |
| 98 | return formats; |
| 99 | } |
| 100 | |
| 101 | static bool ParseHashStr(const string& strReq, uint256& v) |
| 102 | { |
no outgoing calls
no test coverage detected