Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

proto.h

Go to the documentation of this file.
00001 /* bitmap.c */
00002 BOOL bitmap_decompress(unsigned char *output, int width, int height, unsigned char *input, int size,
00003                        int Bpp);
00004 /* cache.c */
00005 HBITMAP cache_get_bitmap(uint8 cache_id, uint16 cache_idx);
00006 void cache_put_bitmap(uint8 cache_id, uint16 cache_idx, HBITMAP bitmap);
00007 FONTGLYPH *cache_get_font(uint8 font, uint16 character);
00008 void cache_put_font(uint8 font, uint16 character, uint16 offset, uint16 baseline, uint16 width,
00009                     uint16 height, HGLYPH pixmap);
00010 DATABLOB *cache_get_text(uint8 cache_id);
00011 void cache_put_text(uint8 cache_id, void *data, int length);
00012 uint8 *cache_get_desktop(uint32 offset, int cx, int cy, int bytes_per_pixel);
00013 void cache_put_desktop(uint32 offset, int cx, int cy, int scanline, int bytes_per_pixel,
00014                        uint8 * data);
00015 HCURSOR cache_get_cursor(uint16 cache_idx);
00016 void cache_put_cursor(uint16 cache_idx, HCURSOR cursor);
00017 /* ewmhints.c */
00018 int get_current_workarea(uint32 * x, uint32 * y, uint32 * width, uint32 * height);
00019 /* iso.c */
00020 STREAM iso_init(int length);
00021 void iso_send(STREAM s);
00022 STREAM iso_recv(void);
00023 BOOL iso_connect(char *server);
00024 void iso_disconnect(void);
00025 /* licence.c */
00026 void licence_process(STREAM s);
00027 /* mcs.c */
00028 STREAM mcs_init(int length);
00029 void mcs_send(STREAM s);
00030 STREAM mcs_recv(void);
00031 BOOL mcs_connect(char *server, STREAM mcs_data);
00032 void mcs_disconnect(void);
00033 /* orders.c */
00034 void process_orders(STREAM s);
00035 void reset_order_state(void);
00036 /* rdesktop.c */
00037 int main(int argc, char *argv[]);
00038 void generate_random(uint8 * random);
00039 void *xmalloc(int size);
00040 void *xrealloc(void *oldmem, int size);
00041 void xfree(void *mem);
00042 void error(char *format, ...);
00043 void warning(char *format, ...);
00044 void unimpl(char *format, ...);
00045 void hexdump(unsigned char *p, unsigned int len);
00046 int load_licence(unsigned char **data);
00047 void save_licence(unsigned char *data, int length);
00048 /* rdp.c */
00049 void rdp_out_unistr(STREAM s, char *string, int len);
00050 void rdp_send_input(uint32 time, uint16 message_type, uint16 device_flags, uint16 param1,
00051                     uint16 param2);
00052 BOOL rdp_main_loop(void);
00053 BOOL rdp_connect(char *server, uint32 flags, char *domain, char *password, char *command,
00054                  char *directory);
00055 void rdp_disconnect(void);
00056 /* secure.c */
00057 void sec_hash_48(uint8 * out, uint8 * in, uint8 * salt1, uint8 * salt2, uint8 salt);
00058 void sec_hash_16(uint8 * out, uint8 * in, uint8 * salt1, uint8 * salt2);
00059 void buf_out_uint32(uint8 * buffer, uint32 value);
00060 void sec_sign(uint8 * signature, int siglen, uint8 * session_key, int keylen, uint8 * data,
00061               int datalen);
00062 STREAM sec_init(uint32 flags, int maxlen);
00063 void sec_send(STREAM s, uint32 flags);
00064 STREAM sec_recv(void);
00065 BOOL sec_connect(char *server);
00066 void sec_disconnect(void);
00067 /* tcp.c */
00068 STREAM tcp_init(unsigned int maxlen);
00069 void tcp_send(STREAM s);
00070 STREAM tcp_recv(unsigned int length);
00071 BOOL tcp_connect(char *server);
00072 void tcp_disconnect(void);
00073 /* xkeymap.c */
00074 void xkeymap_init(void);
00075 BOOL handle_special_keys(uint32 keysym, unsigned int state, uint32 ev_time, BOOL pressed);
00076 key_translation xkeymap_translate_key(uint32 keysym, unsigned int keycode, unsigned int state);
00077 uint16 xkeymap_translate_button(unsigned int button);
00078 char *get_ksname(uint32 keysym);
00079 void ensure_remote_modifiers(uint32 ev_time, key_translation tr);
00080 void reset_modifier_keys(unsigned int state);
00081 void rdp_send_scancode(uint32 time, uint16 flags, uint8 scancode);
00082 /* xwin.c */
00083 BOOL get_key_state(unsigned int state, uint32 keysym);
00084 BOOL ui_init(void);
00085 void ui_deinit(void);
00086 BOOL ui_create_window(void);
00087 void ui_destroy_window(void);
00088 void xwin_toggle_fullscreen(void);
00089 int ui_select(int rdp_socket);
00090 void ui_move_pointer(int x, int y);
00091 HBITMAP ui_create_bitmap(int width, int height, uint8 * data);
00092 void ui_paint_bitmap(int x, int y, int cx, int cy, int width, int height, uint8 * data);
00093 void ui_destroy_bitmap(HBITMAP bmp);
00094 HGLYPH ui_create_glyph(int width, int height, uint8 * data);
00095 void ui_destroy_glyph(HGLYPH glyph);
00096 HCURSOR ui_create_cursor(unsigned int x, unsigned int y, int width, int height, uint8 * andmask,
00097                          uint8 * xormask);
00098 void ui_set_cursor(HCURSOR cursor);
00099 void ui_destroy_cursor(HCURSOR cursor);
00100 HCOLOURMAP ui_create_colourmap(COLOURMAP * colours);
00101 void ui_destroy_colourmap(HCOLOURMAP map);
00102 void ui_set_colourmap(HCOLOURMAP map);
00103 void ui_begin_update(void);
00104 void ui_end_update(void);
00105 void ui_set_clip(int x, int y, int cx, int cy);
00106 void ui_reset_clip(void);
00107 void ui_bell(void);
00108 void ui_destblt(uint8 opcode, int x, int y, int cx, int cy);
00109 void ui_patblt(uint8 opcode, int x, int y, int cx, int cy, BRUSH * brush, int bgcolour,
00110                int fgcolour);
00111 void ui_screenblt(uint8 opcode, int x, int y, int cx, int cy, int srcx, int srcy);
00112 void ui_memblt(uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy);
00113 void ui_triblt(uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy,
00114                BRUSH * brush, int bgcolour, int fgcolour);
00115 void ui_line(uint8 opcode, int startx, int starty, int endx, int endy, PEN * pen);
00116 void ui_rect(int x, int y, int cx, int cy, int colour);
00117 void ui_draw_text(uint8 font, uint8 flags, int mixmode, int x, int y, int clipx, int clipy,
00118                   int clipcx, int clipcy, int boxx, int boxy, int boxcx, int boxcy, int bgcolour,
00119                   int fgcolour, uint8 * text, uint8 length);
00120 void ui_desktop_save(uint32 offset, int x, int y, int cx, int cy);
00121 void ui_desktop_restore(uint32 offset, int x, int y, int cx, int cy);

Generated on Sat Nov 5 16:17:42 2005 for OPIE by  doxygen 1.4.2