#ifndef UTILITIES_H_SEEN #define UTILITIES_H_SEEN #define SECONDS_DAY 86400 #define SECONDS_HOUR 3600 #define SECONDS_MINUTE 60 #include #include #include #include #include #include #include #include "Types.h" void ParseInput(char* Pc, int* Nparam, char Param[][MAX_COM_SIZE]); int Match(char *str, char *cmd); char* Chop(char str[]); int MakeDir(char *Dir, char *RunDate); void GetUTCSecondsOfDay(double* t); void GetLocalSecondsOfDay(double* t); void GetLocalDay(int* t); double GetDiffTime(time_t* StartT); long int GetMicroSeconds(); void PrintByteBin(unsigned char i); void sPrintByteBin(unsigned char i, char* str); void PrintWordBin(unsigned short i); void sPrintWordBin(unsigned short i, char* str); int sPrintBin2Dec(const char* bs, unsigned int* result); int Bin2Dec(int bin); int Bin2Dec(const char *bs); int sPrintHex2Dec(const char* xs, unsigned int* result); int IsNoDigit(const char* str); void SignalHandler(int Signal); #endif