~ubuntu-branches/ubuntu/vivid/freerdp/vivid

« back to all changes in this revision

Viewing changes to libfreerdp/core/activation.h

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-11-11 12:20:50 UTC
  • mfrom: (1.2.5)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20141111122050-7z628f4ab38qxad5
Tags: upstream-1.1.0~git20140921.1.440916e+dfsg1
ImportĀ upstreamĀ versionĀ 1.1.0~git20140921.1.440916e+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * FreeRDP: A Remote Desktop Protocol Implementation
 
3
 * Activation Sequence
 
4
 *
 
5
 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
 
6
 *
 
7
 * Licensed under the Apache License, Version 2.0 (the "License");
 
8
 * you may not use this file except in compliance with the License.
 
9
 * You may obtain a copy of the License at
 
10
 *
 
11
 *     http://www.apache.org/licenses/LICENSE-2.0
 
12
 *
 
13
 * Unless required by applicable law or agreed to in writing, software
 
14
 * distributed under the License is distributed on an "AS IS" BASIS,
 
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
16
 * See the License for the specific language governing permissions and
 
17
 * limitations under the License.
 
18
 */
 
19
 
 
20
#ifndef __ACTIVATION_H
 
21
#define __ACTIVATION_H
 
22
 
 
23
#include "rdp.h"
 
24
 
 
25
#include <freerdp/settings.h>
 
26
 
 
27
#define SYNCMSGTYPE_SYNC                0x0001
 
28
 
 
29
#define CTRLACTION_REQUEST_CONTROL      0x0001
 
30
#define CTRLACTION_GRANTED_CONTROL      0x0002
 
31
#define CTRLACTION_DETACH               0x0003
 
32
#define CTRLACTION_COOPERATE            0x0004
 
33
 
 
34
#define PERSIST_FIRST_PDU               0x01
 
35
#define PERSIST_LAST_PDU                0x02
 
36
 
 
37
#define FONTLIST_FIRST                  0x0001
 
38
#define FONTLIST_LAST                   0x0002
 
39
 
 
40
BOOL rdp_recv_deactivate_all(rdpRdp* rdp, wStream* s);
 
41
BOOL rdp_send_deactivate_all(rdpRdp* rdp);
 
42
 
 
43
BOOL rdp_recv_synchronize_pdu(rdpRdp* rdp, wStream* s);
 
44
BOOL rdp_recv_server_synchronize_pdu(rdpRdp* rdp, wStream* s);
 
45
BOOL rdp_send_server_synchronize_pdu(rdpRdp* rdp);
 
46
BOOL rdp_recv_client_synchronize_pdu(rdpRdp* rdp, wStream* s);
 
47
BOOL rdp_send_client_synchronize_pdu(rdpRdp* rdp);
 
48
BOOL rdp_recv_control_pdu(wStream* s, UINT16* action);
 
49
BOOL rdp_recv_server_control_pdu(rdpRdp* rdp, wStream* s);
 
50
BOOL rdp_send_server_control_cooperate_pdu(rdpRdp* rdp);
 
51
BOOL rdp_send_server_control_granted_pdu(rdpRdp* rdp);
 
52
BOOL rdp_send_client_control_pdu(rdpRdp* rdp, UINT16 action);
 
53
BOOL rdp_send_client_persistent_key_list_pdu(rdpRdp* rdp);
 
54
BOOL rdp_recv_client_font_list_pdu(wStream* s);
 
55
BOOL rdp_send_client_font_list_pdu(rdpRdp* rdp, UINT16 flags);
 
56
BOOL rdp_recv_font_map_pdu(rdpRdp* rdp, wStream* s);
 
57
BOOL rdp_recv_server_font_map_pdu(rdpRdp* rdp, wStream* s);
 
58
BOOL rdp_recv_client_font_map_pdu(rdpRdp* rdp, wStream* s);
 
59
BOOL rdp_send_server_font_map_pdu(rdpRdp* rdp);
 
60
 
 
61
BOOL rdp_server_accept_client_control_pdu(rdpRdp* rdp, wStream* s);
 
62
BOOL rdp_server_accept_client_font_list_pdu(rdpRdp* rdp, wStream* s);
 
63
 
 
64
#endif /* __ACTIVATION_H */