blob: 9028600d9e498a4fbdd59d3ca33a5a1c7d3d4dbb [file] [log] [blame]
#ifndef _UTILITY_H_
#define _UTILITY_H_
char * getLocalTimeStamp(void);
char * getGmTimeStamp(void);
long int get_current_time_sec(void);
void get_current_timestamp_micro(char * microSec);
long int get_time_diff(const char *time1, const char *time2);
void startLogging(char *loggingDir);
void writeLogg(const char *source_file, const char *function, const int line, const char *format, ...);
struct sockaddr_in * get_ip_from_hostname(char *hostname);
#endif