FreeRDP
|
#include <winpr/config.h>
#include <winpr/assert.h>
#include <winpr/string.h>
#include <winpr/synch.h>
#include <winpr/json.h>
#include <winpr/path.h>
#include <winpr/file.h>
#include "../log.h"
#include <string.h>
#include "WindowsZones.h"
#include "TimeZoneNameMap.h"
Macros | |
#define | TAG WINPR_TAG("timezone.utils") |
Functions | |
static void | tz_entry_free (TimeZoneNameMapEntry *entry) |
static TimeZoneNameMapEntry | tz_entry_clone (const TimeZoneNameMapEntry *entry) |
static void | tz_context_free (void) |
static BOOL | reallocate_context (TimeZoneNameMapContext *context, size_t size_to_add) |
static BOOL CALLBACK | load_timezones (PINIT_ONCE once, PVOID param, PVOID *pvcontext) |
const TimeZoneNameMapEntry * | TimeZoneGetAt (size_t index) |
static const char * | return_type (const TimeZoneNameMapEntry *entry, TimeZoneNameType type) |
static BOOL | iana_cmp (const TimeZoneNameMapEntry *entry, const char *iana) |
static BOOL | id_cmp (const TimeZoneNameMapEntry *entry, const char *id) |
static const char * | get_for_type (const char *val, TimeZoneNameType type, BOOL(*cmp)(const TimeZoneNameMapEntry *, const char *)) |
static const char * | map_fallback (const char *iana, TimeZoneNameType type) |
const char * | TimeZoneIanaToWindows (const char *iana, TimeZoneNameType type) |
Variables | |
static TimeZoneNameMapContext | tz_context = { 0 } |
#define TAG WINPR_TAG("timezone.utils") |
WinPR: Windows Portable Runtime Time Zone Name Map Utils
Copyright 2024 Armin Novak anova Copyright 2024 Thincast Technologies GmbH k@th incas t.co m
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const TimeZoneNameMapEntry* TimeZoneGetAt | ( | size_t | index | ) |
const char* TimeZoneIanaToWindows | ( | const char * | iana, |
TimeZoneNameType | type | ||
) |
|
static |
|
static |
|
static |
|
static |