CVS: rdesktop/uiports nanoxwin.c,1.2,1.3

Jay Sorg <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop/uiports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19344

Modified Files:
	nanoxwin.c 
Log Message:
get nanoxrdesktop compiling

Index: nanoxwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/uiports/nanoxwin.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** nanoxwin.c	23 Apr 2005 20:52:51 -0000	1.2
--- nanoxwin.c	22 Sep 2005 02:18:05 -0000	1.3
***************
*** 52,55 ****
--- 52,58 ----
  int g_console_session = 0;
  int g_keylayout = 0x409; /* Defaults to US keyboard layout */
+ int g_keyboard_type = 0x4; /* Defaults to US keyboard layout */
+ int g_keyboard_subtype = 0x0; /* Defaults to US keyboard layout */
+ int g_keyboard_functionkeys = 0xc; /* Defaults to US keyboard layout */
  
  static int g_sck = 0;
***************
*** 81,84 ****
--- 84,96 ----
  static struct key g_keys[256];
  
+ /* Session Directory redirection */
+ BOOL g_redirect = False;
+ char g_redirect_server[64];
+ char g_redirect_domain[16];
+ char g_redirect_password[64];
+ char g_redirect_username[64];
+ char g_redirect_cookie[128];
+ uint32 g_redirect_flags = 0;
+ 
  #define COLOR16TO32(color) \
  ( \
***************
*** 990,993 ****
--- 1002,1017 ----
  
  /*****************************************************************************/
+ char * xstrdup(const char * s)
+ {
+   char * mem = strdup(s);
+   if (mem == NULL)
+   {
+     perror("strdup");
+     exit(1);
+   }
+   return mem;
+ }
+ 
+ /*****************************************************************************/
  void warning(char * format, ...)
  {



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.