FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
TimeZoneNameMap.h
1
21#ifndef WINPR_TIME_NAME_MAP_H_
22#define WINPR_TIME_NAME_MAP_H_
23
24#include <winpr/wtypes.h>
25
26typedef enum
27{
28 TIME_ZONE_NAME_ID,
29 TIME_ZONE_NAME_STANDARD,
30 TIME_ZONE_NAME_DISPLAY,
31 TIME_ZONE_NAME_DAYLIGHT,
32 TIME_ZONE_NAME_IANA,
33} TimeZoneNameType;
34
35typedef struct
36{
37 char* Id;
38 char* StandardName;
39 char* DisplayName;
40 char* DaylightName;
41 char* Iana;
43
44const TimeZoneNameMapEntry* TimeZoneGetAt(size_t index);
45const char* TimeZoneIanaToWindows(const char* iana, TimeZoneNameType type);
46
47#endif