--- smsdaemon/util.h 2008/06/11 19:42:24 59 +++ smsdaemon/util.h 2008/06/19 14:47:52 107 @@ -35,6 +35,11 @@ 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