--- smsdaemon/util.h 2008/06/11 19:42:24 59 +++ smsdaemon/util.h 2008/12/06 14:43:41 127 @@ -35,10 +35,22 @@ int uTimeDiff(const timeval& then, const timeval& now); int mTimeDiff(const timeval& then, const timeval& now); + timeval GetTimeOfDay(); + + int my_system(const char* cmd, std::string* response = 0); + + inline void Sleep(unsigned int msec) { - for (unsigned int i=0; i