1 |
|
2 |
#include "../rdesktop.h" |
3 |
|
4 |
extern int g_tcp_port_rdp; |
5 |
int g_use_rdp5 = 0; |
6 |
char g_hostname[16]; |
7 |
char g_username[64]; |
8 |
int g_height = 600; |
9 |
int g_width = 800; |
10 |
int g_server_bpp = 8; |
11 |
int g_encryption = 1; |
12 |
int g_desktop_save =1; |
13 |
int g_bitmap_cache = 1; |
14 |
int g_bitmap_compression = 1; |
15 |
int g_rdp5_performanceflags = 0; |
16 |
int g_console_session = 0; |
17 |
int g_keylayout = 0x409; /* Defaults to US keyboard layout */ |
18 |
|
19 |
/*****************************************************************************/ |
20 |
void ui_bell(void) |
21 |
{ |
22 |
} |
23 |
|
24 |
/*****************************************************************************/ |
25 |
int ui_select(int in) |
26 |
{ |
27 |
return 1; |
28 |
} |
29 |
|
30 |
/*****************************************************************************/ |
31 |
void ui_destroy_cursor(void* cursor) |
32 |
{ |
33 |
} |
34 |
|
35 |
/*****************************************************************************/ |
36 |
void* ui_create_glyph(int width, int height, uint8* data) |
37 |
{ |
38 |
return 0; |
39 |
} |
40 |
|
41 |
/*****************************************************************************/ |
42 |
void ui_destroy_glyph(void* glyph) |
43 |
{ |
44 |
} |
45 |
|
46 |
/*****************************************************************************/ |
47 |
void ui_destroy_bitmap(void* bmp) |
48 |
{ |
49 |
} |
50 |
|
51 |
/*****************************************************************************/ |
52 |
void ui_reset_clip(void) |
53 |
{ |
54 |
} |
55 |
|
56 |
/*****************************************************************************/ |
57 |
void ui_set_clip(int x, int y, int cx, int cy) |
58 |
{ |
59 |
} |
60 |
|
61 |
/*****************************************************************************/ |
62 |
void* ui_create_colourmap(COLOURMAP * colours) |
63 |
{ |
64 |
return 0; |
65 |
} |
66 |
|
67 |
/*****************************************************************************/ |
68 |
void ui_set_colourmap(void* map) |
69 |
{ |
70 |
} |
71 |
|
72 |
/*****************************************************************************/ |
73 |
HBITMAP ui_create_bitmap(int width, int height, uint8* data) |
74 |
{ |
75 |
return 0; |
76 |
} |
77 |
|
78 |
/*****************************************************************************/ |
79 |
void ui_draw_text(uint8 font, uint8 flags, int mixmode, |
80 |
int x, int y, |
81 |
int clipx, int clipy, int clipcx, int clipcy, |
82 |
int boxx, int boxy, int boxcx, int boxcy, |
83 |
int bgcolour, int fgcolour, uint8* text, uint8 length) |
84 |
{ |
85 |
} |
86 |
|
87 |
/*****************************************************************************/ |
88 |
void ui_line(uint8 opcode, int startx, int starty, int endx, int endy, |
89 |
PEN * pen) |
90 |
{ |
91 |
} |
92 |
|
93 |
/*****************************************************************************/ |
94 |
void ui_triblt(uint8 opcode, int x, int y, int cx, int cy, |
95 |
HBITMAP src, int srcx, int srcy, |
96 |
BRUSH* brush, int bgcolour, int fgcolour) |
97 |
{ |
98 |
} |
99 |
|
100 |
/*****************************************************************************/ |
101 |
void ui_memblt(uint8 opcode, int x, int y, int cx, int cy, |
102 |
HBITMAP src, int srcx, int srcy) |
103 |
{ |
104 |
} |
105 |
|
106 |
/*****************************************************************************/ |
107 |
void ui_desktop_restore(uint32 offset, int x, int y, int cx, int cy) |
108 |
{ |
109 |
} |
110 |
|
111 |
/*****************************************************************************/ |
112 |
void ui_desktop_save(uint32 offset, int x, int y, int cx, int cy) |
113 |
{ |
114 |
} |
115 |
|
116 |
/*****************************************************************************/ |
117 |
void ui_rect(int x, int y, int cx, int cy, int colour) |
118 |
{ |
119 |
} |
120 |
|
121 |
/*****************************************************************************/ |
122 |
void ui_screenblt(uint8 opcode, int x, int y, int cx, int cy, |
123 |
int srcx, int srcy) |
124 |
{ |
125 |
} |
126 |
|
127 |
/*****************************************************************************/ |
128 |
void ui_patblt(uint8 opcode, int x, int y, int cx, int cy, |
129 |
BRUSH * brush, int bgcolour, int fgcolour) |
130 |
{ |
131 |
} |
132 |
|
133 |
/*****************************************************************************/ |
134 |
void ui_destblt(uint8 opcode, int x, int y, int cx, int cy) |
135 |
{ |
136 |
} |
137 |
|
138 |
/*****************************************************************************/ |
139 |
void ui_move_pointer(int x, int y) |
140 |
{ |
141 |
} |
142 |
|
143 |
/*****************************************************************************/ |
144 |
void ui_set_null_cursor(void) |
145 |
{ |
146 |
} |
147 |
|
148 |
/*****************************************************************************/ |
149 |
void ui_paint_bitmap(int x, int y, int cx, int cy, |
150 |
int width, int height, uint8* data) |
151 |
{ |
152 |
} |
153 |
|
154 |
/*****************************************************************************/ |
155 |
void ui_set_cursor(HCURSOR cursor) |
156 |
{ |
157 |
} |
158 |
|
159 |
/*****************************************************************************/ |
160 |
HCURSOR ui_create_cursor(unsigned int x, unsigned int y, |
161 |
int width, int height, |
162 |
uint8* andmask, uint8* xormask) |
163 |
{ |
164 |
return 0; |
165 |
} |
166 |
|
167 |
/*****************************************************************************/ |
168 |
uint16 ui_get_numlock_state(unsigned int state) |
169 |
{ |
170 |
return 0; |
171 |
} |
172 |
|
173 |
/*****************************************************************************/ |
174 |
unsigned int read_keyboard_state(void) |
175 |
{ |
176 |
return 0; |
177 |
} |
178 |
|
179 |
/*****************************************************************************/ |
180 |
void ui_resize_window(void) |
181 |
{ |
182 |
} |
183 |
|
184 |
/*****************************************************************************/ |
185 |
void ui_begin_update(void) |
186 |
{ |
187 |
} |
188 |
|
189 |
/*****************************************************************************/ |
190 |
void ui_end_update(void) |
191 |
{ |
192 |
} |
193 |
|
194 |
/*****************************************************************************/ |
195 |
void generate_random(uint8* random) |
196 |
{ |
197 |
} |
198 |
|
199 |
/*****************************************************************************/ |
200 |
void save_licence(uint8* data, int length) |
201 |
{ |
202 |
} |
203 |
|
204 |
/*****************************************************************************/ |
205 |
int load_licence(uint8** data) |
206 |
{ |
207 |
return 0; |
208 |
} |
209 |
|
210 |
/*****************************************************************************/ |
211 |
void* xrealloc(void* in, int size) |
212 |
{ |
213 |
return 0; |
214 |
} |
215 |
|
216 |
/*****************************************************************************/ |
217 |
void* xmalloc(int size) |
218 |
{ |
219 |
return 0; |
220 |
} |
221 |
|
222 |
/*****************************************************************************/ |
223 |
void xfree(void* in) |
224 |
{ |
225 |
} |
226 |
|
227 |
/*****************************************************************************/ |
228 |
void warning(char* format, ...) |
229 |
{ |
230 |
} |
231 |
|
232 |
/*****************************************************************************/ |
233 |
void unimpl(char* format, ...) |
234 |
{ |
235 |
} |
236 |
|
237 |
/*****************************************************************************/ |
238 |
void error(char* format, ...) |
239 |
{ |
240 |
} |
241 |
|
242 |
/*****************************************************************************/ |
243 |
int main(int c, char** p) |
244 |
{ |
245 |
return 0; |
246 |
} |