--- smsdaemon/util.h 2008/06/11 06:46:14 43 +++ smsdaemon/util.h 2008/06/16 07:39:56 86 @@ -19,6 +19,8 @@ std::string str_toupper(std::string str); std::string str_tolower(std::string str); + std::string str_formatint(int i); + std::string str_replace_char(std::string str, char search, char replace); std::string str_characters(std::string str); @@ -33,6 +35,8 @@ int uTimeDiff(const timeval& then, const timeval& now); int mTimeDiff(const timeval& then, const timeval& now); + int my_system(const char* cmd); + inline void Sleep(unsigned int msec) { for (unsigned int i=0; i