mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
20 lines
803 B
C++
20 lines
803 B
C++
//------------------------------------------------------------------------------
|
|
/*
|
|
Copyright (c) 2011-2013, OpenCoin, Inc.
|
|
*/
|
|
//==============================================================================
|
|
|
|
#ifndef _PARSE_SECTION_
|
|
#define _PARSE_SECTION_
|
|
|
|
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
|