summaryrefslogtreecommitdiffstats
path: root/winpr/libwinpr/timezone/TimeZones.h
diff options
context:
space:
mode:
Diffstat (limited to 'winpr/libwinpr/timezone/TimeZones.h')
-rw-r--r--winpr/libwinpr/timezone/TimeZones.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/winpr/libwinpr/timezone/TimeZones.h b/winpr/libwinpr/timezone/TimeZones.h
new file mode 100644
index 0000000..54c9f2d
--- /dev/null
+++ b/winpr/libwinpr/timezone/TimeZones.h
@@ -0,0 +1,34 @@
+/*
+ * Automatically generated with scripts/TimeZones.csx
+ */
+
+#ifndef WINPR_TIME_ZONES_H_
+#define WINPR_TIME_ZONES_H_
+
+#include <winpr/wtypes.h>
+
+typedef struct
+{
+ UINT64 TicksStart;
+ UINT64 TicksEnd;
+ INT32 DaylightDelta;
+ SYSTEMTIME StandardDate;
+ SYSTEMTIME DaylightDate;
+} TIME_ZONE_RULE_ENTRY;
+
+typedef struct
+{
+ const char* Id;
+ INT32 Bias;
+ BOOL SupportsDST;
+ const char* DisplayName;
+ const char* StandardName;
+ const char* DaylightName;
+ const TIME_ZONE_RULE_ENTRY* RuleTable;
+ UINT32 RuleTableCount;
+} TIME_ZONE_ENTRY;
+
+extern const TIME_ZONE_ENTRY TimeZoneTable[];
+extern const size_t TimeZoneTableNrElements;
+
+#endif /* WINPR_TIME_ZONES_H_ */