FreeRDP
|
#include <freerdp/config.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/timezone.h>
#include "settings.h"
#include "timezone.h"
#include <freerdp/log.h>
Macros | |
#define | TAG FREERDP_TAG("core.timezone") |
#define | log_timezone(tzif, result) |
Functions | |
static BOOL | rdp_read_system_time (wStream *s, SYSTEMTIME *system_time) |
static BOOL | rdp_write_system_time (wStream *s, const SYSTEMTIME *system_time) |
BOOL | rdp_read_client_time_zone (wStream *s, rdpSettings *settings) |
BOOL | rdp_write_client_time_zone (wStream *s, rdpSettings *settings) |
#define log_timezone | ( | tzif, | |
result | |||
) |
#define TAG FREERDP_TAG("core.timezone") |
FreeRDP: A Remote Desktop Protocol Implementation Time Zone Redirection
Copyright 2012 Marc-Andre Moreau marca ndre .more au@g mail. com
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.
BOOL rdp_read_client_time_zone | ( | wStream * | s, |
rdpSettings * | settings | ||
) |
Read client time zone information (TS_TIME_ZONE_INFORMATION). msdn{cc240477}
s | stream |
settings | settings |
|
static |
Read SYSTEM_TIME structure (TS_SYSTEMTIME). msdn{cc240478}
s | stream |
system_time | system time structure |
BOOL rdp_write_client_time_zone | ( | wStream * | s, |
rdpSettings * | settings | ||
) |
Write client time zone information (TS_TIME_ZONE_INFORMATION). msdn{cc240477}
s | stream |
settings | settings |
|
static |
Write SYSTEM_TIME structure (TS_SYSTEMTIME). msdn{cc240478}
s | stream |
system_time | system time structure |