/[rdesktop]/sourceforge.net/trunk/rdesktop/secure.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/secure.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 828 by stargo, Sun Mar 6 21:11:18 2005 UTC revision 964 by astrand, Wed Aug 3 11:30:53 2005 UTC
# Line 30  extern char g_hostname[16]; Line 30  extern char g_hostname[16];
30  extern int g_width;  extern int g_width;
31  extern int g_height;  extern int g_height;
32  extern int g_keylayout;  extern int g_keylayout;
33    extern int g_keyboard_type;
34    extern int g_keyboard_subtype;
35    extern int g_keyboard_functionkeys;
36  extern BOOL g_encryption;  extern BOOL g_encryption;
37  extern BOOL g_licence_issued;  extern BOOL g_licence_issued;
38  extern BOOL g_use_rdp5;  extern BOOL g_use_rdp5;
# Line 446  sec_out_mcs_data(STREAM s) Line 449  sec_out_mcs_data(STREAM s)
449          rdp_out_unistr(s, g_hostname, hostlen);          rdp_out_unistr(s, g_hostname, hostlen);
450          out_uint8s(s, 30 - hostlen);          out_uint8s(s, 30 - hostlen);
451    
452          out_uint32_le(s, 4);          out_uint32_le(s, g_keyboard_type);
453          out_uint32(s, 0);          out_uint32_le(s, g_keyboard_subtype);
454          out_uint32_le(s, 12);          out_uint32_le(s, g_keyboard_functionkeys);
455          out_uint8s(s, 64);      /* reserved? 4 + 12 doublewords */          out_uint8s(s, 64);      /* reserved? 4 + 12 doublewords */
456          out_uint16_le(s, 0xca01);       /* colour depth? */          out_uint16_le(s, 0xca01);       /* colour depth? */
457          out_uint16_le(s, 1);          out_uint16_le(s, 1);

Legend:
Removed from v.828  
changed lines
  Added in v.964

  ViewVC Help
Powered by ViewVC 1.1.26