19 #ifndef InitConfigFileParser_H
20 #define InitConfigFileParser_H
22 #include <ndb_global.h>
24 #include <Properties.hpp>
25 #include <ConfigValues.hpp>
88 void reportError(
const char *
msg, ...)
89 ATTRIBUTE_FORMAT(printf, 2, 3);
90 void reportWarning(const
char * msg, ...)
91 ATTRIBUTE_FORMAT(printf, 2, 3);
94 static
bool convertStringToUint64(const
char* s, Uint64& val, Uint32 log10base = 0);
95 static
bool convertStringToBool(const
char* s,
bool& val);
103 bool isEmptyLine(const
char* line) const;
110 char* parseSectionHeader(const
char* line) const;
117 char* parseDefaultSectionHeader(const
char* line) const;
119 bool parseNameValuePair(
Context&, const
char* line);
120 bool storeNameValuePair(Context&, const
char*
fname, const
char* value);
122 bool storeSection(Context&);
138 const
char *groups[]);
144 Config* run_config_rules(Context& ctx);
147 #endif // InitConfigFileParser_H