FreeRDP
libfreerdp/common/addin.c File Reference
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/path.h>
#include <winpr/string.h>
#include <winpr/library.h>
#include <freerdp/addin.h>
#include <freerdp/build-config.h>
#include <freerdp/log.h>

Macros

#define TAG   FREERDP_TAG("addin")
 

Functions

static INLINE BOOL is_path_required (LPCSTR path, size_t len)
 
LPSTR freerdp_get_library_install_path (void)
 
LPSTR freerdp_get_dynamic_addin_install_path (void)
 
PVIRTUALCHANNELENTRY freerdp_load_dynamic_addin (LPCSTR pszFileName, LPCSTR pszPath, LPCSTR pszEntryName)
 
PVIRTUALCHANNELENTRY freerdp_load_dynamic_channel_addin_entry (LPCSTR pszName, LPCSTR pszSubsystem, LPCSTR pszType, DWORD dwFlags)
 
int freerdp_register_addin_provider (FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN provider, DWORD dwFlags)
 
FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN freerdp_get_current_addin_provider (void)
 
PVIRTUALCHANNELENTRY freerdp_load_channel_addin_entry (LPCSTR pszName, LPCSTR pszSubsystem, LPCSTR pszType, DWORD dwFlags)
 

Variables

static FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN freerdp_load_static_channel_addin_entry = NULL
 

Macro Definition Documentation

◆ TAG

#define TAG   FREERDP_TAG("addin")

FreeRDP: A Remote Desktop Protocol Implementation Addin Loader

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

◆ freerdp_get_current_addin_provider()

FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN freerdp_get_current_addin_provider ( void  )

◆ freerdp_get_dynamic_addin_install_path()

LPSTR freerdp_get_dynamic_addin_install_path ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_get_library_install_path()

LPSTR freerdp_get_library_install_path ( void  )
Here is the call graph for this function:

◆ freerdp_load_channel_addin_entry()

PVIRTUALCHANNELENTRY freerdp_load_channel_addin_entry ( LPCSTR  pszName,
LPCSTR  pszSubsystem,
LPCSTR  pszType,
DWORD  dwFlags 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_load_dynamic_addin()

PVIRTUALCHANNELENTRY freerdp_load_dynamic_addin ( LPCSTR  pszFileName,
LPCSTR  pszPath,
LPCSTR  pszEntryName 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_load_dynamic_channel_addin_entry()

PVIRTUALCHANNELENTRY freerdp_load_dynamic_channel_addin_entry ( LPCSTR  pszName,
LPCSTR  pszSubsystem,
LPCSTR  pszType,
DWORD  dwFlags 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_register_addin_provider()

int freerdp_register_addin_provider ( FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN  provider,
DWORD  dwFlags 
)
Here is the caller graph for this function:

◆ is_path_required()

static INLINE BOOL is_path_required ( LPCSTR  path,
size_t  len 
)
static
Here is the caller graph for this function:

Variable Documentation

◆ freerdp_load_static_channel_addin_entry

FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN freerdp_load_static_channel_addin_entry = NULL
static