FreeRDP
include/freerdp/redirection.h File Reference
#include <freerdp/api.h>
This graph shows which files directly or indirectly include this file:

Macros

#define LB_TARGET_NET_ADDRESS   0x00000001
 
#define LB_LOAD_BALANCE_INFO   0x00000002
 
#define LB_USERNAME   0x00000004
 
#define LB_DOMAIN   0x00000008
 
#define LB_PASSWORD   0x00000010
 
#define LB_DONTSTOREUSERNAME   0x00000020
 
#define LB_SMARTCARD_LOGON   0x00000040
 
#define LB_NOREDIRECT   0x00000080
 
#define LB_TARGET_FQDN   0x00000100
 
#define LB_TARGET_NETBIOS_NAME   0x00000200
 
#define LB_TARGET_NET_ADDRESSES   0x00000800
 
#define LB_CLIENT_TSV_URL   0x00001000
 
#define LB_SERVER_TSV_CAPABLE   0x00002000
 
#define LB_PASSWORD_IS_PK_ENCRYPTED   0x00004000
 
#define LB_REDIRECTION_GUID   0x00008000
 
#define LB_TARGET_CERTIFICATE   0x00010000
 
#define LB_PASSWORD_MAX_LENGTH   512
 
#define ENCODING_TYPE_ASN1_DER   1
 

Functions

FREERDP_API void redirection_free (rdpRedirection *redirection)
 
FREERDP_API rdpRedirection * redirection_new (void)
 
FREERDP_API BOOL redirection_settings_are_valid (rdpRedirection *redirection, UINT32 *pFlags)
 This function checks if all necessary settings for a given rdpRedirection are available. More...
 
FREERDP_API BOOL redirection_set_flags (rdpRedirection *redirection, UINT32 flags)
 
FREERDP_API BOOL redirection_set_session_id (rdpRedirection *redirection, UINT32 session_id)
 
FREERDP_API BOOL redirection_set_byte_option (rdpRedirection *redirection, UINT32 flag, const BYTE *data, size_t length)
 
FREERDP_API BOOL redirection_set_string_option (rdpRedirection *redirection, UINT32 flag, const char *str)
 
FREERDP_API BOOL redirection_set_array_option (rdpRedirection *redirection, UINT32 flag, const char **str, size_t count)
 

Macro Definition Documentation

◆ ENCODING_TYPE_ASN1_DER

#define ENCODING_TYPE_ASN1_DER   1

◆ LB_CLIENT_TSV_URL

#define LB_CLIENT_TSV_URL   0x00001000

◆ LB_DOMAIN

#define LB_DOMAIN   0x00000008

◆ LB_DONTSTOREUSERNAME

#define LB_DONTSTOREUSERNAME   0x00000020

◆ LB_LOAD_BALANCE_INFO

#define LB_LOAD_BALANCE_INFO   0x00000002

◆ LB_NOREDIRECT

#define LB_NOREDIRECT   0x00000080

◆ LB_PASSWORD

#define LB_PASSWORD   0x00000010

◆ LB_PASSWORD_IS_PK_ENCRYPTED

#define LB_PASSWORD_IS_PK_ENCRYPTED   0x00004000

◆ LB_PASSWORD_MAX_LENGTH

#define LB_PASSWORD_MAX_LENGTH   512

◆ LB_REDIRECTION_GUID

#define LB_REDIRECTION_GUID   0x00008000

◆ LB_SERVER_TSV_CAPABLE

#define LB_SERVER_TSV_CAPABLE   0x00002000

◆ LB_SMARTCARD_LOGON

#define LB_SMARTCARD_LOGON   0x00000040

◆ LB_TARGET_CERTIFICATE

#define LB_TARGET_CERTIFICATE   0x00010000

◆ LB_TARGET_FQDN

#define LB_TARGET_FQDN   0x00000100

◆ LB_TARGET_NET_ADDRESS

#define LB_TARGET_NET_ADDRESS   0x00000001

FreeRDP: A Remote Desktop Protocol Implementation RDP Server Redirection

Copyright 2023 Armin Novak anova.nosp@m.k@th.nosp@m.incas.nosp@m.t.co.nosp@m.m Copyright 2023 Thincast Technologies GmbH

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.

◆ LB_TARGET_NET_ADDRESSES

#define LB_TARGET_NET_ADDRESSES   0x00000800

◆ LB_TARGET_NETBIOS_NAME

#define LB_TARGET_NETBIOS_NAME   0x00000200

◆ LB_USERNAME

#define LB_USERNAME   0x00000004

Function Documentation

◆ redirection_free()

FREERDP_API void redirection_free ( rdpRedirection *  redirection)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ redirection_new()

FREERDP_API rdpRedirection* redirection_new ( void  )
Here is the caller graph for this function:

◆ redirection_set_array_option()

FREERDP_API BOOL redirection_set_array_option ( rdpRedirection *  redirection,
UINT32  flag,
const char **  str,
size_t  count 
)
Here is the call graph for this function:

◆ redirection_set_byte_option()

FREERDP_API BOOL redirection_set_byte_option ( rdpRedirection *  redirection,
UINT32  flag,
const BYTE data,
size_t  length 
)
Here is the call graph for this function:

◆ redirection_set_flags()

FREERDP_API BOOL redirection_set_flags ( rdpRedirection *  redirection,
UINT32  flags 
)

◆ redirection_set_session_id()

FREERDP_API BOOL redirection_set_session_id ( rdpRedirection *  redirection,
UINT32  session_id 
)

◆ redirection_set_string_option()

FREERDP_API BOOL redirection_set_string_option ( rdpRedirection *  redirection,
UINT32  flag,
const char *  str 
)
Here is the call graph for this function:

◆ redirection_settings_are_valid()

FREERDP_API BOOL redirection_settings_are_valid ( rdpRedirection *  redirection,
UINT32 *  pFlags 
)

This function checks if all necessary settings for a given rdpRedirection are available.

Parameters
redirectionThe redirection settings to check
pFlagsAn (optional) pointer to UINT32. Is set to the flags that do not have necessary data available.
Returns
TRUE if the redirection settings are ready to use, FALSE otherwise.
Here is the call graph for this function: