2014-06-29 01:24:44 +04:00
|
|
|
/**
|
|
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
|
|
|
* Remote Assistance Virtual Channel
|
|
|
|
*
|
|
|
|
* Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2015-06-22 10:12:25 +03:00
|
|
|
* Copyright 2015 Thincast Technologies GmbH
|
|
|
|
* Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com>
|
2014-06-29 01:24:44 +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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FREERDP_CHANNEL_REMDESK_CLIENT_MAIN_H
|
|
|
|
#define FREERDP_CHANNEL_REMDESK_CLIENT_MAIN_H
|
|
|
|
|
|
|
|
#include <winpr/crt.h>
|
|
|
|
#include <winpr/synch.h>
|
|
|
|
#include <winpr/thread.h>
|
|
|
|
#include <winpr/stream.h>
|
|
|
|
#include <winpr/collections.h>
|
|
|
|
|
|
|
|
#include <freerdp/api.h>
|
|
|
|
#include <freerdp/svc.h>
|
|
|
|
#include <freerdp/addin.h>
|
2014-06-30 20:51:27 +04:00
|
|
|
#include <freerdp/settings.h>
|
2014-06-29 01:24:44 +04:00
|
|
|
|
|
|
|
#include <freerdp/client/remdesk.h>
|
|
|
|
|
2014-09-12 18:19:32 +04:00
|
|
|
#include <freerdp/channels/log.h>
|
|
|
|
#define TAG CHANNELS_TAG("remdesk.client")
|
|
|
|
|
2014-06-29 01:24:44 +04:00
|
|
|
struct remdesk_plugin
|
|
|
|
{
|
|
|
|
CHANNEL_DEF channelDef;
|
2016-11-22 14:27:05 +03:00
|
|
|
CHANNEL_ENTRY_POINTS_FREERDP_EX channelEntryPoints;
|
2014-06-29 01:24:44 +04:00
|
|
|
|
2014-12-27 23:20:29 +03:00
|
|
|
RemdeskClientContext* context;
|
|
|
|
|
2014-06-29 01:24:44 +04:00
|
|
|
HANDLE thread;
|
|
|
|
wStream* data_in;
|
|
|
|
void* InitHandle;
|
|
|
|
DWORD OpenHandle;
|
2014-06-30 20:51:27 +04:00
|
|
|
rdpSettings* settings;
|
2014-12-27 23:20:29 +03:00
|
|
|
wMessageQueue* queue;
|
2014-06-29 04:22:36 +04:00
|
|
|
|
|
|
|
UINT32 Version;
|
2014-06-30 20:51:27 +04:00
|
|
|
char* ExpertBlob;
|
|
|
|
BYTE* EncryptedPassStub;
|
2018-11-08 11:27:57 +03:00
|
|
|
size_t EncryptedPassStubSize;
|
2015-07-15 10:50:35 +03:00
|
|
|
rdpContext* rdpcontext;
|
2014-06-29 01:24:44 +04:00
|
|
|
};
|
|
|
|
typedef struct remdesk_plugin remdeskPlugin;
|
|
|
|
|
|
|
|
#endif /* FREERDP_CHANNEL_REMDESK_CLIENT_MAIN_H */
|