From 7089617d8186143cfe946596dfafd650cb3028f9 Mon Sep 17 00:00:00 2001 From: Dimitar Petrovski Date: Wed, 23 May 2012 22:07:47 +0200 Subject: move utilities to separate files --- util.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 util.h (limited to 'util.h') diff --git a/util.h b/util.h new file mode 100644 index 0000000..a94390a --- /dev/null +++ b/util.h @@ -0,0 +1,24 @@ +/* + * util.h + * + * Created on: 23.5.2012 + * Author: d.petrovski + */ + +#ifndef UTIL_H_ +#define UTIL_H_ + +int AvailableSources[32]; +int NumberOfAvailableSources; + +int Yesterday; +int YesterdayEpoch; +int YesterdayEpochUTC; + +cChannel *GetChannelByID(tChannelID & channelID, bool searchOtherPos); +time_t LocalTime2UTC (time_t t); +time_t UTC2LocalTime (time_t t); +void GetLocalTimeOffset (void); +void CleanString (unsigned char *String); + +#endif /* UTIL_H_ */ -- cgit v1.2.3