akmhoque | 8fdd641 | 2012-12-04 15:05:33 -0600 | [diff] [blame] | 1 | #ifndef _UTILITY_H_ |
2 | #define _UTILITY_H_ | ||||
3 | |||||
4 | char * getLocalTimeStamp(void); | ||||
5 | char * getGmTimeStamp(void); | ||||
6 | long int get_current_time_sec(void); | ||||
7 | void get_current_timestamp_micro(char * microSec); | ||||
8 | long int get_time_diff(const char *time1, const char *time2); | ||||
9 | |||||
10 | void startLogging(char *loggingDir); | ||||
11 | void writeLogg(const char *source_file, const char *function, const int line, const char *format, ...); | ||||
12 | #endif |