2 * FreeRDP: A Remote Desktop Protocol Client
5 * Copyright 2009-2011 Jay Sorg
6 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
38 #ifdef HAVE_INTTYPES_H
41 typedef uint8_t uint8;
43 typedef uint16_t uint16;
44 typedef int16_t sint16;
45 typedef uint32_t uint32;
46 typedef int32_t sint32;
47 typedef uint64_t uint64;
48 typedef int64_t sint64;
52 typedef unsigned char uint8;
53 typedef signed char sint8;
54 typedef unsigned short uint16;
55 typedef signed short sint16;
56 typedef unsigned int uint32;
57 typedef signed int sint32;
59 typedef unsigned __int64 uint64;
60 typedef signed __int64 sint64;
62 typedef unsigned long long uint64;
63 typedef signed long long sint64;
66 #endif /* HAVE_INTTYPES_H */
78 #ifndef __bool_true_false_are_defined
79 #define __bool_true_false_are_defined 1
85 #define boolean BOOLEAN
90 #endif /* __bool_true_false_are_defined */
104 #endif /* __cplusplus */
106 #endif /* HAVE_STDBOOL_H */
109 #define MIN(x,y) (((x) < (y)) ? (x) : (y))
113 #define MAX(x,y) (((x) > (y)) ? (x) : (y))
116 #include <freerdp/settings.h>
118 struct _RDP_PLUGIN_DATA
123 typedef struct _RDP_PLUGIN_DATA RDP_PLUGIN_DATA;
132 typedef struct _RDP_RECT RDP_RECT;
141 typedef struct _RECTANGLE_16 RECTANGLE_16;
144 typedef struct _RDP_EVENT RDP_EVENT;
146 typedef void (*RDP_EVENT_CALLBACK) (RDP_EVENT* event);
152 RDP_EVENT_CALLBACK on_event_free_callback;
158 RDP_EVENT_CLASS_DEBUG = 0,
159 RDP_EVENT_CLASS_CLIPRDR,
160 RDP_EVENT_CLASS_TSMF,
164 #endif /* __RDP_TYPES_H */