FreeRDP
libfreerdp/core/timezone.c File Reference
#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")
 

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)
 

Macro Definition Documentation

◆ TAG

#define TAG   FREERDP_TAG("core.timezone")

FreeRDP: A Remote Desktop Protocol Implementation Time Zone Redirection

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.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.

Function Documentation

◆ rdp_read_client_time_zone()

BOOL rdp_read_client_time_zone ( wStream s,
rdpSettings *  settings 
)

Read client time zone information (TS_TIME_ZONE_INFORMATION). msdn{cc240477}

Parameters
sstream
settingssettings
Returns
TRUE for success, FALSE otherwise
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_read_system_time()

BOOL rdp_read_system_time ( wStream s,
SYSTEMTIME *  system_time 
)
static

Read SYSTEM_TIME structure (TS_SYSTEMTIME). msdn{cc240478}

Parameters
sstream
system_timesystem time structure
Here is the caller graph for this function:

◆ rdp_write_client_time_zone()

BOOL rdp_write_client_time_zone ( wStream s,
rdpSettings *  settings 
)

Write client time zone information (TS_TIME_ZONE_INFORMATION). msdn{cc240477}

Parameters
sstream
settingssettings
Returns
TRUE for success, FALSE otherwise
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_write_system_time()

BOOL rdp_write_system_time ( wStream s,
const SYSTEMTIME *  system_time 
)
static

Write SYSTEM_TIME structure (TS_SYSTEMTIME). msdn{cc240478}

Parameters
sstream
system_timesystem time structure
Here is the call graph for this function:
Here is the caller graph for this function: