--- smsdaemon/Util.h 2008/12/15 09:10:05 185 +++ smsdaemon/Util.h 2008/12/19 07:03:34 203 @@ -30,7 +30,8 @@ std::string str_gsm2latin(std::string str); std::string str_latin2gsm(std::string str); - std::string readUrl(std::string url, std::string tempfile); +// Deprecated:: use HttpClient instead +// std::string readUrl(std::string url, std::string tempfile); std::string iconv_wrapper(std::string _input, std::string to_format, std::string from_format); @@ -43,19 +44,20 @@ timeval GetTimeOfDay(); int my_system(const char* cmd, std::string* response = 0); + int my_system2(const char* cmd); std::string readfile(std::string filename); inline void Sleep(unsigned int msec) { - if (msec < 1000) + if (msec < 1000) { usleep(1000*msec); } else { - for (unsigned int i=0; i