This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| BOOL | bitmap_decompress (unsigned char *output, int width, int height, unsigned char *input, int size, int Bpp) |
| HBITMAP | cache_get_bitmap (uint8 cache_id, uint16 cache_idx) |
| void | cache_put_bitmap (uint8 cache_id, uint16 cache_idx, HBITMAP bitmap) |
| FONTGLYPH * | cache_get_font (uint8 font, uint16 character) |
| void | cache_put_font (uint8 font, uint16 character, uint16 offset, uint16 baseline, uint16 width, uint16 height, HGLYPH pixmap) |
| DATABLOB * | cache_get_text (uint8 cache_id) |
| void | cache_put_text (uint8 cache_id, void *data, int length) |
| uint8 * | cache_get_desktop (uint32 offset, int cx, int cy, int bytes_per_pixel) |
| void | cache_put_desktop (uint32 offset, int cx, int cy, int scanline, int bytes_per_pixel, uint8 *data) |
| HCURSOR | cache_get_cursor (uint16 cache_idx) |
| void | cache_put_cursor (uint16 cache_idx, HCURSOR cursor) |
| int | get_current_workarea (uint32 *x, uint32 *y, uint32 *width, uint32 *height) |
| STREAM | iso_init (int length) |
| void | iso_send (STREAM s) |
| STREAM | iso_recv (void) |
| BOOL | iso_connect (char *server) |
| void | iso_disconnect (void) |
| void | licence_process (STREAM s) |
| STREAM | mcs_init (int length) |
| void | mcs_send (STREAM s) |
| STREAM | mcs_recv (void) |
| BOOL | mcs_connect (char *server, STREAM mcs_data) |
| void | mcs_disconnect (void) |
| void | process_orders (STREAM s) |
| void | reset_order_state (void) |
| int | main (int argc, char *argv[]) |
| void | generate_random (uint8 *random) |
| void * | xmalloc (int size) |
| void * | xrealloc (void *oldmem, int size) |
| void | xfree (void *mem) |
| void | error (char *format,...) |
| void | warning (char *format,...) |
| void | unimpl (char *format,...) |
| void | hexdump (unsigned char *p, unsigned int len) |
| int | load_licence (unsigned char **data) |
| void | save_licence (unsigned char *data, int length) |
| void | rdp_out_unistr (STREAM s, char *string, int len) |
| void | rdp_send_input (uint32 time, uint16 message_type, uint16 device_flags, uint16 param1, uint16 param2) |
| BOOL | rdp_main_loop (void) |
| BOOL | rdp_connect (char *server, uint32 flags, char *domain, char *password, char *command, char *directory) |
| void | rdp_disconnect (void) |
| void | sec_hash_48 (uint8 *out, uint8 *in, uint8 *salt1, uint8 *salt2, uint8 salt) |
| void | sec_hash_16 (uint8 *out, uint8 *in, uint8 *salt1, uint8 *salt2) |
| void | buf_out_uint32 (uint8 *buffer, uint32 value) |
| void | sec_sign (uint8 *signature, int siglen, uint8 *session_key, int keylen, uint8 *data, int datalen) |
| STREAM | sec_init (uint32 flags, int maxlen) |
| void | sec_send (STREAM s, uint32 flags) |
| STREAM | sec_recv (void) |
| BOOL | sec_connect (char *server) |
| void | sec_disconnect (void) |
| STREAM | tcp_init (unsigned int maxlen) |
| void | tcp_send (STREAM s) |
| STREAM | tcp_recv (unsigned int length) |
| BOOL | tcp_connect (char *server) |
| void | tcp_disconnect (void) |
| void | xkeymap_init (void) |
| BOOL | handle_special_keys (uint32 keysym, unsigned int state, uint32 ev_time, BOOL pressed) |
| key_translation | xkeymap_translate_key (uint32 keysym, unsigned int keycode, unsigned int state) |
| uint16 | xkeymap_translate_button (unsigned int button) |
| char * | get_ksname (uint32 keysym) |
| void | ensure_remote_modifiers (uint32 ev_time, key_translation tr) |
| void | reset_modifier_keys (unsigned int state) |
| void | rdp_send_scancode (uint32 time, uint16 flags, uint8 scancode) |
| BOOL | get_key_state (unsigned int state, uint32 keysym) |
| BOOL | ui_init (void) |
| void | ui_deinit (void) |
| BOOL | ui_create_window (void) |
| void | ui_destroy_window (void) |
| void | xwin_toggle_fullscreen (void) |
| int | ui_select (int rdp_socket) |
| void | ui_move_pointer (int x, int y) |
| HBITMAP | ui_create_bitmap (int width, int height, uint8 *data) |
| void | ui_paint_bitmap (int x, int y, int cx, int cy, int width, int height, uint8 *data) |
| void | ui_destroy_bitmap (HBITMAP bmp) |
| HGLYPH | ui_create_glyph (int width, int height, uint8 *data) |
| void | ui_destroy_glyph (HGLYPH glyph) |
| HCURSOR | ui_create_cursor (unsigned int x, unsigned int y, int width, int height, uint8 *andmask, uint8 *xormask) |
| void | ui_set_cursor (HCURSOR cursor) |
| void | ui_destroy_cursor (HCURSOR cursor) |
| HCOLOURMAP | ui_create_colourmap (COLOURMAP *colours) |
| void | ui_destroy_colourmap (HCOLOURMAP map) |
| void | ui_set_colourmap (HCOLOURMAP map) |
| void | ui_begin_update (void) |
| void | ui_end_update (void) |
| void | ui_set_clip (int x, int y, int cx, int cy) |
| void | ui_reset_clip (void) |
| void | ui_bell (void) |
| void | ui_destblt (uint8 opcode, int x, int y, int cx, int cy) |
| void | ui_patblt (uint8 opcode, int x, int y, int cx, int cy, BRUSH *brush, int bgcolour, int fgcolour) |
| void | ui_screenblt (uint8 opcode, int x, int y, int cx, int cy, int srcx, int srcy) |
| void | ui_memblt (uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy) |
| void | ui_triblt (uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy, BRUSH *brush, int bgcolour, int fgcolour) |
| void | ui_line (uint8 opcode, int startx, int starty, int endx, int endy, PEN *pen) |
| void | ui_rect (int x, int y, int cx, int cy, int colour) |
| void | ui_draw_text (uint8 font, uint8 flags, int mixmode, int x, int y, int clipx, int clipy, int clipcx, int clipcy, int boxx, int boxy, int boxcx, int boxcy, int bgcolour, int fgcolour, uint8 *text, uint8 length) |
| void | ui_desktop_save (uint32 offset, int x, int y, int cx, int cy) |
| void | ui_desktop_restore (uint32 offset, int x, int y, int cx, int cy) |
|
||||||||||||||||||||||||||||
|
Definition at line 71 of file bitmap.cpp. References code, CVAL, cvalx(), end, False, getli(), MASK_UPDATE, NULL, REPEAT, setli(), True, unimpl(), and Opie::MM::x. Referenced by process_bitmap_updates(), and process_bmpcache(). |
|
||||||||||||
|
Definition at line 173 of file secure.cpp. Referenced by licence_generate_hwid(), and sec_sign(). |
|
||||||||||||
|
Definition at line 31 of file cache.cpp. References bmpcache, error(), NULL, and NUM_ELEMENTS. Referenced by process_memblt(), and process_triblt(). |
|
|
Definition at line 202 of file cache.cpp. References cursorcache, error(), NULL, and NUM_ELEMENTS. Referenced by process_pointer_pdu(). |
|
||||||||||||||||||||
|
Definition at line 161 of file cache.cpp. References deskcache, error(), and NULL. Referenced by ui_desktop_restore(). |
|
||||||||||||
|
Definition at line 72 of file cache.cpp. References error(), NULL, NUM_ELEMENTS, and _FONTGLYPH::pixmap. |
|
|
Definition at line 118 of file cache.cpp. References _DATABLOB::data, error(), NULL, NUM_ELEMENTS, and text. Referenced by ui_draw_text(). |
|
||||||||||||||||
|
Definition at line 48 of file cache.cpp. References bmpcache, error(), NULL, NUM_ELEMENTS, and ui_destroy_bitmap(). Referenced by process_bmpcache(), and process_raw_bmpcache(). |
|
||||||||||||
|
Definition at line 219 of file cache.cpp. References cursorcache, error(), NULL, NUM_ELEMENTS, and ui_destroy_cursor(). Referenced by process_pointer_pdu(). |
|
||||||||||||||||||||||||||||
|
Definition at line 176 of file cache.cpp. References deskcache, and error(). Referenced by ui_desktop_save(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 89 of file cache.cpp. References _FONTGLYPH::baseline, error(), _FONTGLYPH::height, NULL, NUM_ELEMENTS, _FONTGLYPH::offset, _FONTGLYPH::pixmap, ui_destroy_glyph(), and _FONTGLYPH::width. Referenced by process_fontcache(). |
|
||||||||||||||||
|
Definition at line 135 of file cache.cpp. References _DATABLOB::data, error(), NULL, NUM_ELEMENTS, _DATABLOB::size, text, xfree(), and xmalloc(). Referenced by ui_draw_text(). |
|
||||||||||||
|
|
|
||||||||||||
|
|
Definition at line 122 of file rdesktop.cpp. References md5(), MD5_Final(), MD5_Init(), MD5_Update(), and NULL. Referenced by sec_process_crypt_info(). |
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 140 of file iso.cpp. References code, error(), False, ISO_PDU_CC, ISO_PDU_CR, iso_recv_msg(), iso_send_msg(), NULL, tcp_connect(), tcp_disconnect(), and True. Referenced by mcs_connect(). |
|
|
Definition at line 166 of file iso.cpp. References ISO_PDU_DR, iso_send_msg(), and tcp_disconnect(). Referenced by mcs_connect(), and mcs_disconnect(). |
|
|
Definition at line 88 of file iso.cpp. References s, s_push_layer, and tcp_init(). Referenced by mcs_init(), mcs_send_aurq(), mcs_send_cjrq(), mcs_send_connect_initial(), and mcs_send_edrq(). |
|
|
Definition at line 120 of file iso.cpp. References code, error(), ISO_PDU_DT, iso_recv_msg(), NULL, and s. Referenced by mcs_recv(), mcs_recv_aucf(), mcs_recv_cjcf(), and mcs_recv_connect_response(). |
|
|
Definition at line 100 of file iso.cpp. References stream::end, ISO_PDU_DT, out_uint16_be, out_uint8, stream::p, s_pop_layer, and tcp_send(). Referenced by mcs_send(), mcs_send_aurq(), mcs_send_cjrq(), mcs_send_connect_initial(), and mcs_send_edrq(). |
|
|
Definition at line 284 of file licence.cpp. References in_uint16_le, in_uint8s, licence_process_authreq(), licence_process_demand(), licence_process_issue(), LICENCE_TAG_AUTHREQ, LICENCE_TAG_DEMAND, LICENCE_TAG_ISSUE, LICENCE_TAG_REISSUE, LICENCE_TAG_RESULT, and unimpl(). Referenced by sec_recv(). |
|
|
Definition at line 159 of file rdesktop.cpp. References hostname, NULL, and xmalloc(). Referenced by licence_process_demand(). |
|
||||||||||||
|
Definition at line 47 of file main.cpp. References app, QPEApplication::exec(), QPEApplication::grabKeyboard(), NULL, odebug, oendl, server, shell, QPEApplication::showMainWidget(), tr, and TRUE. |
|
||||||||||||
|
Definition at line 357 of file mcs.cpp. References error(), False, iso_connect(), iso_disconnect(), MCS_GLOBAL_CHANNEL, mcs_recv_aucf(), mcs_recv_cjcf(), mcs_recv_connect_response(), mcs_send_aurq(), mcs_send_cjrq(), mcs_send_connect_initial(), mcs_send_edrq(), mcs_userid, and True. Referenced by sec_connect(). |
|
|
Definition at line 391 of file mcs.cpp. References iso_disconnect(). Referenced by sec_disconnect(). |
|
|
Definition at line 296 of file mcs.cpp. References iso_init(), s, and s_push_layer. Referenced by sec_init(). |
|
|
Definition at line 327 of file mcs.cpp. References error(), in_uint8, in_uint8s, iso_recv(), MCS_DPUM, MCS_SDIN, NULL, and s. Referenced by sec_recv(). |
|
|
Definition at line 308 of file mcs.cpp. References stream::end, iso_send(), MCS_GLOBAL_CHANNEL, MCS_SDRQ, mcs_userid, out_uint16_be, out_uint8, stream::p, and s_pop_layer. Referenced by sec_send(). |
|
|
||||||||||||||||||||||||||||
|
Definition at line 733 of file rdp.cpp. References False, rdp_send_logon_info(), sec_connect(), True, and username. Referenced by QMyScrollView::timerEvent(). |
|
|
Definition at line 745 of file rdp.cpp. References sec_disconnect(). |
|
|
Definition at line 701 of file rdp.cpp. References stream::end, False, next_packet, NULL, process_data_pdu(), process_demand_active(), RDP_PDU_DATA, RDP_PDU_DEACTIVATE, RDP_PDU_DEMAND_ACTIVE, rdp_recv(), s, True, type, and unimpl(). Referenced by QMyMainWindow::dataReceived(). |
|
||||||||||||||||
|
Definition at line 140 of file rdp.cpp. Referenced by rdp_send_logon_info(), and sec_out_mcs_data(). |
|
||||||||||||||||||||||||
|
Definition at line 221 of file rdp.cpp. References out_uint16, out_uint16_le, out_uint32_le, RDP_DATA_PDU_INPUT, rdp_init_data(), rdp_send_data(), s, and s_mark_end. Referenced by QMyScrollView::keyPressEvent(), QMyScrollView::keyReleaseEvent(), QMyMainWindow::MemuClicked(), QMyMainWindow::mouseMoveEvent(), QMyMainWindow::mousePressEvent(), QMyMainWindow::mouseReleaseEvent(), process_demand_active(), QMyMainWindow::timerEvent(), and QMyMainWindow::wheelEvent(). |
|
||||||||||||||||
|
|
|
|
|
|
|
Definition at line 936 of file orders.cpp. References RDP_ORDER_PATBLT. Referenced by process_demand_active(). |
|
||||||||||||
|
Definition at line 185 of file rdesktop.cpp. References hostname, i, in_uint16, in_uint32, len, NULL, stream::p, Opie::Core::perror(), printf, STRNCPY, write(), xmalloc(), and Opie::MM::y. Referenced by licence_process_issue(). |
|
|
Definition at line 634 of file secure.cpp. References stream::data, encryption, False, mcs_connect(), stream::p, sec_establish_key(), sec_out_mcs_data(), sec_process_mcs_data(), stream::size, True, xfree(), and xmalloc(). Referenced by rdp_connect(). |
|
|
Definition at line 655 of file secure.cpp. References mcs_disconnect(). Referenced by rdp_disconnect(). |
|
||||||||||||||||||||
|
Definition at line 91 of file secure.cpp. References md5(), MD5_Final(), MD5_Init(), and MD5_Update(). Referenced by licence_generate_keys(), and sec_generate_keys(). |
|
||||||||||||||||||||||||
|
Definition at line 60 of file secure.cpp. References i, md5(), MD5_Final(), MD5_Init(), and MD5_Update(). Referenced by licence_generate_keys(), and sec_generate_keys(). |
|
||||||||||||
|
Definition at line 323 of file secure.cpp. References licence_issued, mcs_init(), s, s_push_layer, SEC_ENCRYPT, and stream::sec_hdr. Referenced by licence_present(), licence_send_authresp(), licence_send_request(), rdp_init(), rdp_init_data(), rdp_send_logon_info(), and sec_establish_key(). |
|
|
Definition at line 602 of file secure.cpp. References encryption, in_uint32_le, in_uint8s, licence_issued, licence_process(), mcs_recv(), NULL, s, sec_decrypt(), SEC_ENCRYPT, and SEC_LICENCE_NEG. Referenced by rdp_recv(). |
|
||||||||||||
|
Definition at line 340 of file secure.cpp. References datalen, DEBUG, hexdump(), licence_issued, mcs_send(), out_uint32_le, rc4_key_len, s_pop_layer, SEC_ENCRYPT, sec_encrypt(), stream::sec_hdr, sec_sign(), and sec_sign_key. Referenced by licence_present(), licence_send_authresp(), licence_send_request(), rdp_send(), rdp_send_data(), rdp_send_logon_info(), and sec_establish_key(). |
|
||||||||||||||||||||||||||||
|
Definition at line 183 of file secure.cpp. References buf_out_uint32(), md5(), MD5_Final(), MD5_Init(), MD5_Update(), pad_54, and pad_92. Referenced by licence_process_authreq(), licence_process_demand(), and sec_send(). |
|
|
Definition at line 124 of file tcp.cpp. References stream::data, error(), False, INADDR_NONE, NULL, stream::size, sock, tcp_port_rdp, True, and xmalloc(). Referenced by iso_connect(). |
|
|
Definition at line 178 of file tcp.cpp. References sock. Referenced by iso_connect(), and iso_disconnect(). |
|
|
Definition at line 43 of file tcp.cpp. References stream::data, stream::end, stream::p, stream::size, and xrealloc(). Referenced by iso_init(), and iso_send_msg(). |
|
|
Definition at line 82 of file tcp.cpp. References stream::data, stream::end, error(), NULL, stream::p, stream::size, sock, ui_select(), and xrealloc(). Referenced by iso_recv_msg(). |
|
|
Definition at line 58 of file tcp.cpp. References stream::data, stream::end, error(), and sock. Referenced by iso_send(), and iso_send_msg(). |
|
|
Definition at line 1233 of file qtwin.cpp. Referenced by process_update_pdu(). |
|
|
Definition at line 1261 of file qtwin.cpp. Referenced by process_data_pdu(). |
|
||||||||||||||||
|
Definition at line 1079 of file qtwin.cpp. References bitmap::data, bitmap::h, i, bitmap::w, and xmalloc(). Referenced by process_bmpcache(), and process_raw_bmpcache(). |
|
|
Definition at line 1203 of file qtwin.cpp. References _COLOURENTRY::blue, _COLOURMAP::colours, g, _COLOURENTRY::green, i, _COLOURMAP::ncolours, QColorMap::NumColors, _COLOURENTRY::red, QColorMap::RGBColors, and Opie::MM::x. Referenced by process_colcache(), and process_palette(). |
|
||||||||||||||||||||||||||||
|
Definition at line 1185 of file qtwin.cpp. Referenced by process_pointer_pdu(). |
|
||||||||||||||||
|
Definition at line 1151 of file qtwin.cpp. References bitmap::data, bitmap::h, i, is_pixel_on(), set_pixel_on(), bitmap::w, and xmalloc(). Referenced by process_fontcache(). |
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
Definition at line 1576 of file qtwin.cpp. References cache_get_desktop(), data, i, redraw(), and set_pixel(). Referenced by process_desksave(). |
|
||||||||||||||||||||||||
|
Definition at line 1562 of file qtwin.cpp. References cache_put_desktop(), data, get_pixel(), i, xfree(), and xmalloc(). Referenced by process_desksave(). |
|
||||||||||||||||||||||||
|
Definition at line 1267 of file qtwin.cpp. References get_pixel(), i, redraw(), and set_pixel(). Referenced by process_destblt(). |
|
|
Definition at line 1112 of file qtwin.cpp. References bitmap::data, NULL, and xfree(). Referenced by cache_put_bitmap(). |
|
|
|
|
|
Definition at line 1198 of file qtwin.cpp. Referenced by cache_put_cursor(). |
|
|
Definition at line 1171 of file qtwin.cpp. References bitmap::data, NULL, and xfree(). Referenced by cache_put_font(). |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1491 of file qtwin.cpp. References cache_get_text(), cache_put_text(), _DATABLOB::data, DO_GLYPH, error(), fill_rect(), i, MIX_OPAQUE, NULL, redraw(), size, TEXT2_IMPLICIT_X, and TEXT2_VERTICAL. Referenced by process_text2(). |
|
|
Definition at line 1238 of file qtwin.cpp. Referenced by process_update_pdu(). |
|
|
|
|
||||||||||||||||||||||||||||
|
Definition at line 1367 of file qtwin.cpp. References _PEN::colour, p, redraw(), and set_pixel(). Referenced by process_line(), and process_polyline(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1341 of file qtwin.cpp. References bitmap::data, bitmap::h, i, NULL, redraw(), set_pixel(), and bitmap::w. Referenced by process_memblt(). |
|
||||||||||||
|
Definition at line 1074 of file qtwin.cpp. Referenced by process_pointer_pdu(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 1098 of file qtwin.cpp. References i, redraw(), and set_pixel(). Referenced by process_bitmap_updates(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1296 of file qtwin.cpp. References fill_rect(), i, is_pixel_on(), _BRUSH::pattern, redraw(), set_pixel(), _BRUSH::style, _BRUSH::xorigin, and _BRUSH::yorigin. Referenced by process_patblt(). |
|
||||||||||||||||||||||||
|
Definition at line 1289 of file qtwin.cpp. References fill_rect(), and redraw(). Referenced by process_rect(). |
|
|
Definition at line 1252 of file qtwin.cpp. References clipcx, clipcy, clipx, clipy, g_height, and g_width. Referenced by process_orders(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 1323 of file qtwin.cpp. References get_pixel(), i, redraw(), set_pixel(), xfree(), and xmalloc(). Referenced by process_screenblt(). |
|
|
Definition at line 1067 of file qtwin.cpp. References global_sock. Referenced by tcp_recv(). |
|
||||||||||||||||||||
|
Definition at line 1243 of file qtwin.cpp. References clipcx, clipcy, clipx, and clipy. Referenced by process_orders(). |
|
|
Definition at line 1228 of file qtwin.cpp. Referenced by process_colcache(), and process_palette(). |
|
|
Definition at line 1193 of file qtwin.cpp. Referenced by process_pointer_pdu(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1359 of file qtwin.cpp. Referenced by process_triblt(). |
|
||||||||||||
|
Definition at line 71 of file rdesktop.cpp. Referenced by bitmap_decompress(), licence_process(), process_data_pdu(), process_orders(), process_secondary_order(), process_update_pdu(), rdp_main_loop(), sec_parse_crypt_info(), and sec_process_mcs_data(). |
|
||||||||||||
|
|
Definition at line 103 of file rdesktop.cpp. Referenced by cache_put_text(), licence_process_demand(), main(), QMyMainWindow::paintEvent(), process_bitmap_updates(), process_bmpcache(), process_colcache(), process_raw_bmpcache(), sec_connect(), ui_desktop_save(), ui_destroy_bitmap(), ui_destroy_glyph(), and ui_screenblt(). |
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
Definition at line 77 of file rdesktop.cpp. Referenced by cache_put_text(), load_licence(), QMyMainWindow::paintEvent(), process_bitmap_updates(), process_bmpcache(), process_colcache(), process_raw_bmpcache(), save_licence(), sec_connect(), tcp_connect(), QMyScrollView::timerEvent(), ui_create_bitmap(), ui_create_glyph(), ui_desktop_save(), and ui_screenblt(). |
|
||||||||||||
|
Definition at line 90 of file rdesktop.cpp. Referenced by tcp_init(), and tcp_recv(). |
|
|
|
1.4.2