2011-08-10 01:42:10 +04:00
|
|
|
/**
|
2012-10-09 07:02:04 +04:00
|
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
2011-08-10 01:42:10 +04:00
|
|
|
* RAIL Virtual Channel Plugin
|
|
|
|
*
|
|
|
|
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
|
|
* Copyright 2011 Roman Barabanov <romanbarabanov@gmail.com>
|
|
|
|
* Copyright 2011 Vic Lee
|
2015-06-08 19:04:05 +03:00
|
|
|
* Copyright 2015 Thincast Technologies GmbH
|
|
|
|
* Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com>
|
2011-08-10 01:42:10 +04:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2012-11-19 22:26:56 +04:00
|
|
|
#ifndef FREERDP_CHANNEL_CLIENT_RAIL_MAIN_H
|
|
|
|
#define FREERDP_CHANNEL_CLIENT_RAIL_MAIN_H
|
2011-08-10 01:42:10 +04:00
|
|
|
|
2011-08-12 00:27:16 +04:00
|
|
|
#include <freerdp/rail.h>
|
2014-11-12 18:43:02 +03:00
|
|
|
#include <freerdp/svc.h>
|
|
|
|
#include <freerdp/addin.h>
|
2012-11-19 22:26:56 +04:00
|
|
|
#include <freerdp/settings.h>
|
2013-10-12 01:09:36 +04:00
|
|
|
#include <freerdp/client/rail.h>
|
|
|
|
|
|
|
|
#include <winpr/crt.h>
|
2013-10-12 01:36:34 +04:00
|
|
|
#include <winpr/wlog.h>
|
2013-03-22 00:45:25 +04:00
|
|
|
#include <winpr/stream.h>
|
|
|
|
|
2013-08-29 01:47:37 +04:00
|
|
|
#include "../rail_common.h"
|
2011-08-12 00:27:16 +04:00
|
|
|
|
2011-08-10 01:42:10 +04:00
|
|
|
struct rail_plugin
|
|
|
|
{
|
2014-11-12 18:43:02 +03:00
|
|
|
CHANNEL_DEF channelDef;
|
|
|
|
CHANNEL_ENTRY_POINTS_FREERDP channelEntryPoints;
|
2013-10-12 01:36:34 +04:00
|
|
|
|
2014-12-27 23:20:29 +03:00
|
|
|
RailClientContext* context;
|
|
|
|
|
2013-10-12 01:36:34 +04:00
|
|
|
wLog* log;
|
2014-11-12 18:43:02 +03:00
|
|
|
HANDLE thread;
|
|
|
|
wStream* data_in;
|
|
|
|
void* InitHandle;
|
|
|
|
DWORD OpenHandle;
|
2014-12-27 23:20:29 +03:00
|
|
|
wMessageQueue* queue;
|
2015-07-15 10:50:35 +03:00
|
|
|
rdpContext* rdpcontext;
|
2011-08-10 01:42:10 +04:00
|
|
|
};
|
|
|
|
typedef struct rail_plugin railPlugin;
|
|
|
|
|
2014-11-12 18:43:02 +03:00
|
|
|
RailClientContext* rail_get_client_interface(railPlugin* rail);
|
2015-08-27 15:25:09 +03:00
|
|
|
UINT rail_send_channel_data(railPlugin* rail, void* data, size_t length);
|
2011-08-18 05:33:22 +04:00
|
|
|
|
2012-11-19 22:26:56 +04:00
|
|
|
#endif /* FREERDP_CHANNEL_CLIENT_RAIL_MAIN_H */
|