#ifndef __GTS_DATA_TYPES_H__ #define __GTS_DATA_TYPES_H__ #include #include namespace GTS { struct LineType { std::string switchIP; std::string readCommunity; std::string writeCommunity; unsigned uplinkPort; unsigned userPort; std::string mac; unsigned upShape; unsigned downShape; unsigned upBurst; unsigned downBurst; }; typedef std::list Lines; bool parseData(std::string & data, Lines & lines); } #endif