summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-05-23 22:07:47 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2012-05-23 22:07:47 +0200
commit7089617d8186143cfe946596dfafd650cb3028f9 (patch)
tree2614d69c4d9f7f765a893cddbba9bf0bae92df42 /util.h
parent07e0eccce3b565fb13f2d675f6eddc38c4917b89 (diff)
downloadvdr-plugin-eepg-7089617d8186143cfe946596dfafd650cb3028f9.tar.gz
vdr-plugin-eepg-7089617d8186143cfe946596dfafd650cb3028f9.tar.bz2
move utilities to separate files
Diffstat (limited to 'util.h')
-rw-r--r--util.h24
1 files changed, 24 insertions, 0 deletions
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_ */