#ifndef ALCONFIG_H #define ALCONFIG_H #include #include "aloptional.h" void ReadALConfig(); int ConfigValueExists(const char *devName, const char *blockName, const char *keyName); const char *GetConfigValue(const char *devName, const char *blockName, const char *keyName, const char *def); int GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, int def); al::optional ConfigValueStr(const char *devName, const char *blockName, const char *keyName); al::optional ConfigValueInt(const char *devName, const char *blockName, const char *keyName); al::optional ConfigValueUInt(const char *devName, const char *blockName, const char *keyName); al::optional ConfigValueFloat(const char *devName, const char *blockName, const char *keyName); al::optional ConfigValueBool(const char *devName, const char *blockName, const char *keyName); #endif /* ALCONFIG_H */