1 |
|
/* -*- c-basic-offset: 8 -*- |
2 |
|
rdesktop: A Remote Desktop Protocol client. |
3 |
|
Copyright (C) Matthew Chapman 1999-2005 |
4 |
|
|
5 |
|
This program is free software; you can redistribute it and/or modify |
6 |
|
it under the terms of the GNU General Public License as published by |
7 |
|
the Free Software Foundation; either version 2 of the License, or |
8 |
|
(at your option) any later version. |
9 |
|
|
10 |
|
This program is distributed in the hope that it will be useful, |
11 |
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 |
|
GNU General Public License for more details. |
14 |
|
|
15 |
|
You should have received a copy of the GNU General Public License |
16 |
|
along with this program; if not, write to the Free Software |
17 |
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
18 |
|
*/ |
19 |
|
|
20 |
|
#ifndef RDESKTOP_PROTO_H |
21 |
|
#define RDESKTOP_PROTO_H |
22 |
|
|
23 |
|
/* *INDENT-OFF* */ |
24 |
|
#ifdef __cplusplus |
25 |
|
extern "C" { |
26 |
|
#endif |
27 |
|
/* *INDENT-ON* */ |
28 |
/* bitmap.c */ |
/* bitmap.c */ |
29 |
BOOL bitmap_decompress(uint8 * output, int width, int height, uint8 * input, int size, int Bpp); |
BOOL bitmap_decompress(uint8 * output, int width, int height, uint8 * input, int size, int Bpp); |
30 |
/* cache.c */ |
/* cache.c */ |
50 |
void channel_send(STREAM s, VCHANNEL * channel); |
void channel_send(STREAM s, VCHANNEL * channel); |
51 |
void channel_process(STREAM s, uint16 mcs_channel); |
void channel_process(STREAM s, uint16 mcs_channel); |
52 |
/* cliprdr.c */ |
/* cliprdr.c */ |
53 |
void cliprdr_send_text_format_announce(void); |
void cliprdr_send_simple_native_format_announce(uint32 format); |
54 |
void cliprdr_send_blah_format_announce(void); |
void cliprdr_send_native_format_announce(uint8 * formats_data, uint32 formats_data_length); |
|
void cliprdr_send_native_format_announce(uint8 * data, uint32 length); |
|
55 |
void cliprdr_send_data_request(uint32 format); |
void cliprdr_send_data_request(uint32 format); |
56 |
void cliprdr_send_data(uint8 * data, uint32 length); |
void cliprdr_send_data(uint8 * data, uint32 length); |
57 |
BOOL cliprdr_init(void); |
BOOL cliprdr_init(void); |
116 |
void hexdump(unsigned char *p, unsigned int len); |
void hexdump(unsigned char *p, unsigned int len); |
117 |
char *next_arg(char *src, char needle); |
char *next_arg(char *src, char needle); |
118 |
void toupper_str(char *p); |
void toupper_str(char *p); |
119 |
|
BOOL str_startswith(const char *s, const char *prefix); |
120 |
char *l_to_a(long N, int base); |
char *l_to_a(long N, int base); |
121 |
int load_licence(unsigned char **data); |
int load_licence(unsigned char **data); |
122 |
void save_licence(unsigned char *data, int length); |
void save_licence(unsigned char *data, int length); |
269 |
void ui_desktop_restore(uint32 offset, int x, int y, int cx, int cy); |
void ui_desktop_restore(uint32 offset, int x, int y, int cx, int cy); |
270 |
void ui_begin_update(void); |
void ui_begin_update(void); |
271 |
void ui_end_update(void); |
void ui_end_update(void); |
272 |
|
|
273 |
|
/* *INDENT-OFF* */ |
274 |
|
#ifdef __cplusplus |
275 |
|
} |
276 |
|
#endif |
277 |
|
/* *INDENT-ON* */ |
278 |
|
|
279 |
|
#endif |