2011-07-25 21:52:48 +04:00
|
|
|
/**
|
2012-10-09 07:02:04 +04:00
|
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
2011-07-25 21:52:48 +04:00
|
|
|
* Activation Sequence
|
|
|
|
*
|
|
|
|
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.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.
|
|
|
|
*/
|
|
|
|
|
2017-06-06 15:01:41 +03:00
|
|
|
#ifndef FREERDP_LIB_CORE_ACTIVATION_H
|
|
|
|
#define FREERDP_LIB_CORE_ACTIVATION_H
|
2011-07-25 21:52:48 +04:00
|
|
|
|
|
|
|
#include "rdp.h"
|
|
|
|
|
2016-08-10 10:12:55 +03:00
|
|
|
#include <freerdp/api.h>
|
2011-07-25 21:52:48 +04:00
|
|
|
#include <freerdp/settings.h>
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
#define SYNCMSGTYPE_SYNC 0x0001
|
2011-07-25 21:52:48 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
#define CTRLACTION_REQUEST_CONTROL 0x0001
|
|
|
|
#define CTRLACTION_GRANTED_CONTROL 0x0002
|
|
|
|
#define CTRLACTION_DETACH 0x0003
|
|
|
|
#define CTRLACTION_COOPERATE 0x0004
|
2011-07-25 21:52:48 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
#define PERSIST_FIRST_PDU 0x01
|
|
|
|
#define PERSIST_LAST_PDU 0x02
|
2011-07-25 21:52:48 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FONTLIST_FIRST 0x0001
|
|
|
|
#define FONTLIST_LAST 0x0002
|
2011-07-25 21:52:48 +04:00
|
|
|
|
2016-08-10 10:12:55 +03:00
|
|
|
FREERDP_LOCAL BOOL rdp_recv_deactivate_all(rdpRdp* rdp, wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_send_deactivate_all(rdpRdp* rdp);
|
2011-07-25 21:52:48 +04:00
|
|
|
|
2016-08-10 10:12:55 +03:00
|
|
|
FREERDP_LOCAL BOOL rdp_recv_synchronize_pdu(rdpRdp* rdp, wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_recv_server_synchronize_pdu(rdpRdp* rdp, wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_send_server_synchronize_pdu(rdpRdp* rdp);
|
|
|
|
FREERDP_LOCAL BOOL rdp_recv_client_synchronize_pdu(rdpRdp* rdp, wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_send_client_synchronize_pdu(rdpRdp* rdp);
|
|
|
|
FREERDP_LOCAL BOOL rdp_recv_control_pdu(wStream* s, UINT16* action);
|
|
|
|
FREERDP_LOCAL BOOL rdp_recv_server_control_pdu(rdpRdp* rdp, wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_send_server_control_cooperate_pdu(rdpRdp* rdp);
|
|
|
|
FREERDP_LOCAL BOOL rdp_send_server_control_granted_pdu(rdpRdp* rdp);
|
|
|
|
FREERDP_LOCAL BOOL rdp_send_client_control_pdu(rdpRdp* rdp, UINT16 action);
|
|
|
|
FREERDP_LOCAL BOOL rdp_send_client_persistent_key_list_pdu(rdpRdp* rdp);
|
|
|
|
FREERDP_LOCAL BOOL rdp_recv_client_font_list_pdu(wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_send_client_font_list_pdu(rdpRdp* rdp, UINT16 flags);
|
|
|
|
FREERDP_LOCAL BOOL rdp_recv_font_map_pdu(rdpRdp* rdp, wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_recv_server_font_map_pdu(rdpRdp* rdp, wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_recv_client_font_map_pdu(rdpRdp* rdp, wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_send_server_font_map_pdu(rdpRdp* rdp);
|
2011-08-21 19:20:37 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_LOCAL BOOL rdp_server_accept_client_control_pdu(rdpRdp* rdp, wStream* s);
|
|
|
|
FREERDP_LOCAL BOOL rdp_server_accept_client_font_list_pdu(rdpRdp* rdp, wStream* s);
|
2011-07-25 21:52:48 +04:00
|
|
|
|
2017-06-06 15:01:41 +03:00
|
|
|
#endif /* FREERDP_LIB_CORE_ACTIVATION_H */
|