akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 1 | #ifndef _UTILITY_H_ |
| 2 | #define _UTILITY_H_ |
| 3 | |
| 4 | char * getLocalTimeStamp(void); |
akmhoque | c928669 | 2012-08-16 09:57:58 -0500 | [diff] [blame] | 5 | char * getGmTimeStamp(void); |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 6 | char * nth_named_component(const char *name_prefix, int n); |
akmhoque | f71d908 | 2012-08-22 12:51:53 -0400 | [diff] [blame] | 7 | long int get_current_time_sec(void); |
akmhoque | d79438d | 2012-08-27 13:31:42 -0500 | [diff] [blame] | 8 | long int get_current_time_microsec(void); |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 9 | |
akmhoque | 53f6422 | 2012-09-05 13:57:51 -0500 | [diff] [blame^] | 10 | char * get_current_timestamp_micro(void); |
| 11 | |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 12 | #endif |