Add support [validators] in newcoind.cfg.

This commit is contained in:
Arthur Britto
2012-06-18 14:13:06 -07:00
parent ec008fe76d
commit 8f74e5bf07
7 changed files with 74 additions and 29 deletions

View File

@@ -8,7 +8,8 @@
typedef std::map<const std::string, std::vector<std::string> > section;
section ParseSection(const std::string& strInput, const bool bTrim);
void PrintSection(section secInput);
void sectionPrint(section secInput);
void sectionEntriesPrint(std::vector<std::string>* vspEntries, const std::string& strSection);
bool sectionSingleB(section& secSource, const std::string& strSection, std::string& strValue);
int sectionCount(section& secSource, const std::string& strSection);
section::mapped_type* sectionEntries(section& secSource, const std::string& strSection);