1 #ifndef CONFIG_PORT_MAPPINGS_H_
2 #define CONFIG_PORT_MAPPINGS_H_
12 #include <sys/types.h>
21 static void Finalize();
30 static uint32_t
Get(std::string name);
39 void LoadConfig(std::string path);
41 std::list<std::string>* fileData;
42 std::map<std::string, map<std::string, uint32_t> >* portData;
44 bool KeyExists(std::string section, std::string key);
46 const static std::string ConfigPortMappings::CONFIG_FILE_PATH;
47 const static std::string ConfigPortMappings::COMMENT_DELIMITERS;