Blame include/freerdp/channels/channels.h

Packit 1fb8d4
/**
Packit 1fb8d4
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit 1fb8d4
 * Virtual Channel Manager
Packit 1fb8d4
 *
Packit 1fb8d4
 * Copyright 2009-2011 Jay Sorg
Packit 1fb8d4
 * Copyright 2010-2011 Vic Lee
Packit 1fb8d4
 *
Packit 1fb8d4
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit 1fb8d4
 * you may not use this file except in compliance with the License.
Packit 1fb8d4
 * You may obtain a copy of the License at
Packit 1fb8d4
 *
Packit 1fb8d4
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit 1fb8d4
 *
Packit 1fb8d4
 * Unless required by applicable law or agreed to in writing, software
Packit 1fb8d4
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit 1fb8d4
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit 1fb8d4
 * See the License for the specific language governing permissions and
Packit 1fb8d4
 * limitations under the License.
Packit 1fb8d4
 */
Packit 1fb8d4
Packit 1fb8d4
#ifndef FREERDP_CHANNELS_H
Packit 1fb8d4
#define FREERDP_CHANNELS_H
Packit 1fb8d4
Packit 1fb8d4
#include <winpr/crt.h>
Packit 1fb8d4
#include <winpr/wtsapi.h>
Packit 1fb8d4
Packit 1fb8d4
#include <freerdp/api.h>
Packit 1fb8d4
#include <freerdp/types.h>
Packit 1fb8d4
#include <freerdp/freerdp.h>
Packit 1fb8d4
Packit 1fb8d4
#ifdef __cplusplus
Packit Service 5a9772
extern "C"
Packit Service 5a9772
{
Packit 1fb8d4
#endif
Packit 1fb8d4
Packit Service 5a9772
	FREERDP_API int freerdp_channels_client_load(rdpChannels* channels, rdpSettings* settings,
Packit Service 5a9772
	                                             PVIRTUALCHANNELENTRY entry, void* data);
Packit Service 5a9772
	FREERDP_API int freerdp_channels_client_load_ex(rdpChannels* channels, rdpSettings* settings,
Packit Service 5a9772
	                                                PVIRTUALCHANNELENTRYEX entryEx, void* data);
Packit Service 5a9772
	FREERDP_API int freerdp_channels_load_plugin(rdpChannels* channels, rdpSettings* settings,
Packit Service 5a9772
	                                             const char* name, void* data);
Packit Service 5a9772
	FREERDP_API BOOL freerdp_channels_get_fds(rdpChannels* channels, freerdp* instance,
Packit Service 5a9772
	                                          void** read_fds, int* read_count, void** write_fds,
Packit Service 5a9772
	                                          int* write_count);
Packit Service 5a9772
	FREERDP_API BOOL freerdp_channels_check_fds(rdpChannels* channels, freerdp* instance);
Packit Service 5a9772
Packit Service 5a9772
	FREERDP_API void* freerdp_channels_get_static_channel_interface(rdpChannels* channels,
Packit Service 5a9772
	                                                                const char* name);
Packit Service 5a9772
Packit Service 5a9772
	FREERDP_API HANDLE freerdp_channels_get_event_handle(freerdp* instance);
Packit Service 5a9772
	FREERDP_API int freerdp_channels_process_pending_messages(freerdp* instance);
Packit Service 5a9772
Packit Service 5a9772
	FREERDP_API BOOL freerdp_channels_data(freerdp* instance, UINT16 channelId, const BYTE* data,
Packit Service 5a9772
	                                       size_t dataSize, UINT32 flags, size_t totalSize);
Packit Service 5a9772
Packit Service 5a9772
	FREERDP_API UINT16 freerdp_channels_get_id_by_name(freerdp* instance, const char* channel_name);
Packit Service 5a9772
	FREERDP_API const char* freerdp_channels_get_name_by_id(freerdp* instance, UINT16 channelId);
Packit Service 5a9772
Packit Service 5a9772
	FREERDP_API PWtsApiFunctionTable FreeRDP_InitWtsApi(void);
Packit 1fb8d4
Packit 1fb8d4
#ifdef __cplusplus
Packit 1fb8d4
}
Packit 1fb8d4
#endif
Packit 1fb8d4
Packit 1fb8d4
#endif /* FREERDP_CHANNELS_H */