/[projects]/smsdaemon/Util.h
ViewVC logotype

Diff of /smsdaemon/Util.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 59 by torben, Wed Jun 11 19:42:24 2008 UTC revision 107 by torben, Thu Jun 19 14:47:52 2008 UTC
# Line 35  namespace Util Line 35  namespace Util
35          int uTimeDiff(const timeval& then, const timeval& now);          int uTimeDiff(const timeval& then, const timeval& now);
36          int mTimeDiff(const timeval& then, const timeval& now);          int mTimeDiff(const timeval& then, const timeval& now);
37    
38            timeval GetTimeOfDay();
39    
40            int my_system(const char* cmd, std::string* response = 0);
41    
42    
43          inline void Sleep(unsigned int msec)          inline void Sleep(unsigned int msec)
44          {          {
45              for (unsigned int i=0; i<msec; ++i)              for (unsigned int i=0; i<msec; ++i)

Legend:
Removed from v.59  
changed lines
  Added in v.107

  ViewVC Help
Powered by ViewVC 1.1.20