Uncrustify maxscale

See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
This commit is contained in:
Niclas Antti
2018-09-09 22:26:19 +03:00
parent fa7ec95069
commit c447e5cf15
849 changed files with 35002 additions and 27238 deletions

View File

@ -25,7 +25,8 @@ public:
int ParseError();
// Get a string value from INI file, returning default_value if not found.
std::string Get(std::string section, std::string name,
std::string Get(std::string section,
std::string name,
std::string default_value);
// Get an integer (long) value from INI file, returning default_value if
@ -38,11 +39,13 @@ public:
bool GetBoolean(std::string section, std::string name, bool default_value);
private:
int _error;
int _error;
std::map<std::string, std::string> _values;
static std::string MakeKey(std::string section, std::string name);
static int ValueHandler(void* user, const char* section, const char* name,
const char* value);
static int ValueHandler(void* user,
const char* section,
const char* name,
const char* value);
};
#endif // __INIREADER_H__