--- smsdaemon/util.h 2008/06/16 10:09:17 89 +++ smsdaemon/Util.h 2008/12/08 21:49:49 158 @@ -29,6 +29,8 @@ std::string readUrl(std::string url, std::string tempfile); + std::string iconv_wrapper(std::string _input, std::string to_format, std::string from_format); + std::string convertToUnicode(std::string); std::string convertFromUnicode(std::string); @@ -37,13 +39,21 @@ timeval GetTimeOfDay(); - int my_system(const char* cmd); + int my_system(const char* cmd, std::string* response = 0); + std::string readfile(std::string filename); inline void Sleep(unsigned int msec) { - for (unsigned int i=0; i