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_cache_persist_enable = False; |
15 |
int g_bitmap_cache_precache = True; |
16 |
int g_bitmap_compression = 1; |
17 |
int g_rdp5_performanceflags = 0; |
18 |
int g_console_session = 0; |
19 |
int g_keylayout = 0x409; /* Defaults to US keyboard layout */ |
20 |
|
21 |
/*****************************************************************************/ |
22 |
void ui_bell(void) |
23 |
{ |
24 |
} |
25 |
|
26 |
/*****************************************************************************/ |
27 |
int ui_select(int in) |
28 |
{ |
29 |
return 1; |
30 |
} |
31 |
|
32 |
/*****************************************************************************/ |
33 |
void ui_destroy_cursor(void* cursor) |
34 |
{ |
35 |
} |
36 |
|
37 |
/*****************************************************************************/ |
38 |
void* ui_create_glyph(int width, int height, uint8* data) |
39 |
{ |
40 |
return 0; |
41 |
} |
42 |
|
43 |
/*****************************************************************************/ |
44 |
void ui_destroy_glyph(void* glyph) |
45 |
{ |
46 |
} |
47 |
|
48 |
/*****************************************************************************/ |
49 |
void ui_destroy_bitmap(void* bmp) |
50 |
{ |
51 |
} |
52 |
|
53 |
/*****************************************************************************/ |
54 |
void ui_reset_clip(void) |
55 |
{ |
56 |
} |
57 |
|
58 |
/*****************************************************************************/ |
59 |
void ui_set_clip(int x, int y, int cx, int cy) |
60 |
{ |
61 |
} |
62 |
|
63 |
/*****************************************************************************/ |
64 |
void* ui_create_colourmap(COLOURMAP * colours) |
65 |
{ |
66 |
return 0; |
67 |
} |
68 |
|
69 |
/*****************************************************************************/ |
70 |
void ui_set_colourmap(void* map) |
71 |
{ |
72 |
} |
73 |
|
74 |
/*****************************************************************************/ |
75 |
HBITMAP ui_create_bitmap(int width, int height, uint8* data) |
76 |
{ |
77 |
return 0; |
78 |
} |
79 |
|
80 |
/*****************************************************************************/ |
81 |
void ui_draw_text(uint8 font, uint8 flags, int mixmode, |
82 |
int x, int y, |
83 |
int clipx, int clipy, int clipcx, int clipcy, |
84 |
int boxx, int boxy, int boxcx, int boxcy, |
85 |
int bgcolour, int fgcolour, uint8* text, uint8 length) |
86 |
{ |
87 |
} |
88 |
|
89 |
/*****************************************************************************/ |
90 |
void ui_line(uint8 opcode, int startx, int starty, int endx, int endy, |
91 |
PEN * pen) |
92 |
{ |
93 |
} |
94 |
|
95 |
/*****************************************************************************/ |
96 |
void ui_triblt(uint8 opcode, int x, int y, int cx, int cy, |
97 |
HBITMAP src, int srcx, int srcy, |
98 |
BRUSH* brush, int bgcolour, int fgcolour) |
99 |
{ |
100 |
} |
101 |
|
102 |
/*****************************************************************************/ |
103 |
void ui_memblt(uint8 opcode, int x, int y, int cx, int cy, |
104 |
HBITMAP src, int srcx, int srcy) |
105 |
{ |
106 |
} |
107 |
|
108 |
/*****************************************************************************/ |
109 |
void ui_desktop_restore(uint32 offset, int x, int y, int cx, int cy) |
110 |
{ |
111 |
} |
112 |
|
113 |
/*****************************************************************************/ |
114 |
void ui_desktop_save(uint32 offset, int x, int y, int cx, int cy) |
115 |
{ |
116 |
} |
117 |
|
118 |
/*****************************************************************************/ |
119 |
void ui_rect(int x, int y, int cx, int cy, int colour) |
120 |
{ |
121 |
} |
122 |
|
123 |
/*****************************************************************************/ |
124 |
void ui_screenblt(uint8 opcode, int x, int y, int cx, int cy, |
125 |
int srcx, int srcy) |
126 |
{ |
127 |
} |
128 |
|
129 |
/*****************************************************************************/ |
130 |
void ui_patblt(uint8 opcode, int x, int y, int cx, int cy, |
131 |
BRUSH * brush, int bgcolour, int fgcolour) |
132 |
{ |
133 |
} |
134 |
|
135 |
/*****************************************************************************/ |
136 |
void ui_destblt(uint8 opcode, int x, int y, int cx, int cy) |
137 |
{ |
138 |
} |
139 |
|
140 |
/*****************************************************************************/ |
141 |
void ui_move_pointer(int x, int y) |
142 |
{ |
143 |
} |
144 |
|
145 |
/*****************************************************************************/ |
146 |
void ui_set_null_cursor(void) |
147 |
{ |
148 |
} |
149 |
|
150 |
/*****************************************************************************/ |
151 |
void ui_paint_bitmap(int x, int y, int cx, int cy, |
152 |
int width, int height, uint8* data) |
153 |
{ |
154 |
} |
155 |
|
156 |
/*****************************************************************************/ |
157 |
void ui_set_cursor(HCURSOR cursor) |
158 |
{ |
159 |
} |
160 |
|
161 |
/*****************************************************************************/ |
162 |
HCURSOR ui_create_cursor(unsigned int x, unsigned int y, |
163 |
int width, int height, |
164 |
uint8* andmask, uint8* xormask) |
165 |
{ |
166 |
return 0; |
167 |
} |
168 |
|
169 |
/*****************************************************************************/ |
170 |
uint16 ui_get_numlock_state(unsigned int state) |
171 |
{ |
172 |
return 0; |
173 |
} |
174 |
|
175 |
/*****************************************************************************/ |
176 |
unsigned int read_keyboard_state(void) |
177 |
{ |
178 |
return 0; |
179 |
} |
180 |
|
181 |
/*****************************************************************************/ |
182 |
void ui_resize_window(void) |
183 |
{ |
184 |
} |
185 |
|
186 |
/*****************************************************************************/ |
187 |
void ui_begin_update(void) |
188 |
{ |
189 |
} |
190 |
|
191 |
/*****************************************************************************/ |
192 |
void ui_end_update(void) |
193 |
{ |
194 |
} |
195 |
|
196 |
/*****************************************************************************/ |
197 |
void generate_random(uint8* random) |
198 |
{ |
199 |
} |
200 |
|
201 |
/*****************************************************************************/ |
202 |
void save_licence(uint8* data, int length) |
203 |
{ |
204 |
} |
205 |
|
206 |
/*****************************************************************************/ |
207 |
int load_licence(uint8** data) |
208 |
{ |
209 |
return 0; |
210 |
} |
211 |
|
212 |
/*****************************************************************************/ |
213 |
void* xrealloc(void* in, int size) |
214 |
{ |
215 |
return 0; |
216 |
} |
217 |
|
218 |
/*****************************************************************************/ |
219 |
void* xmalloc(int size) |
220 |
{ |
221 |
return 0; |
222 |
} |
223 |
|
224 |
/*****************************************************************************/ |
225 |
void xfree(void* in) |
226 |
{ |
227 |
} |
228 |
|
229 |
/*****************************************************************************/ |
230 |
void warning(char* format, ...) |
231 |
{ |
232 |
} |
233 |
|
234 |
/*****************************************************************************/ |
235 |
void unimpl(char* format, ...) |
236 |
{ |
237 |
} |
238 |
|
239 |
/*****************************************************************************/ |
240 |
void error(char* format, ...) |
241 |
{ |
242 |
} |
243 |
|
244 |
/*****************************************************************************/ |
245 |
BOOL rd_pstcache_mkdir(void) |
246 |
{ |
247 |
return 0; |
248 |
} |
249 |
|
250 |
/*****************************************************************************/ |
251 |
int rd_open_file(char *filename) |
252 |
{ |
253 |
return 0; |
254 |
} |
255 |
|
256 |
/*****************************************************************************/ |
257 |
void rd_close_file(int fd) |
258 |
{ |
259 |
return; |
260 |
} |
261 |
|
262 |
/*****************************************************************************/ |
263 |
int rd_read_file(int fd, void *ptr, int len) |
264 |
{ |
265 |
return 0; |
266 |
} |
267 |
|
268 |
/*****************************************************************************/ |
269 |
int rd_write_file(int fd, void* ptr, int len) |
270 |
{ |
271 |
return 0; |
272 |
} |
273 |
|
274 |
/*****************************************************************************/ |
275 |
int rd_lseek_file(int fd, int offset) |
276 |
{ |
277 |
return 0; |
278 |
} |
279 |
|
280 |
/*****************************************************************************/ |
281 |
BOOL rd_lock_file(int fd, int start, int len) |
282 |
{ |
283 |
return False; |
284 |
} |
285 |
|
286 |
/*****************************************************************************/ |
287 |
int main(int c, char** p) |
288 |
{ |
289 |
return 0; |
290 |
} |