mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Moved cpp code to src/cpp and js code to src/js.
This commit is contained in:
17
src/cpp/ripple/ParseSection.h
Normal file
17
src/cpp/ripple/ParseSection.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _PARSE_SECTION_
|
||||
#define _PARSE_SECTION_
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
typedef std::map<const std::string, std::vector<std::string> > section;
|
||||
|
||||
section ParseSection(const std::string& strInput, const bool bTrim);
|
||||
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);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user