/[rdesktop]/sourceforge.net/trunk/rdesktop/types.h
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/types.h

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

revision 795 by stargo, Wed Nov 3 13:56:52 2004 UTC revision 1311 by stargo, Wed Nov 1 21:23:08 2006 UTC
# Line 1  Line 1 
1  /*  /*
2     rdesktop: A Remote Desktop Protocol client.     rdesktop: A Remote Desktop Protocol client.
3     Common data types     Common data types
4     Copyright (C) Matthew Chapman 1999-2002     Copyright (C) Matthew Chapman 1999-2005
5        
6     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 18  Line 18 
18     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19  */  */
20    
21    #ifdef WITH_SCARD
22    #ifdef PCSC_OSX
23    #include <PCSC/wintypes.h>
24    #else
25    #include <wintypes.h>
26    #endif /* PCSC_OSX */
27    #else
28  typedef int BOOL;  typedef int BOOL;
29    #endif
30    
31  #ifndef True  #ifndef True
32  #define True  (1)  #define True  (1)
# Line 37  typedef void *HGLYPH; Line 45  typedef void *HGLYPH;
45  typedef void *HCOLOURMAP;  typedef void *HCOLOURMAP;
46  typedef void *HCURSOR;  typedef void *HCURSOR;
47    
48    typedef struct _POINT
49    {
50            sint16 x, y;
51    }
52    POINT;
53    
54  typedef struct _COLOURENTRY  typedef struct _COLOURENTRY
55  {  {
56          uint8 red;          uint8 red;
# Line 104  DATABLOB; Line 118  DATABLOB;
118    
119  typedef struct _key_translation  typedef struct _key_translation
120  {  {
121            /* For normal scancode translations */
122          uint8 scancode;          uint8 scancode;
123          uint16 modifiers;          uint16 modifiers;
124            /* For sequences. If keysym is nonzero, the fields above are not used. */
125            uint32 seq_keysym;      /* Really KeySym */
126            struct _key_translation *next;
127  }  }
128  key_translation;  key_translation;
129    
# Line 119  typedef struct _VCHANNEL Line 137  typedef struct _VCHANNEL
137  }  }
138  VCHANNEL;  VCHANNEL;
139    
 typedef struct _BMPCACHEENTRY  
 {  
         HBITMAP bitmap;  
         uint32 usage;  
   
 }  
 BMPCACHEENTRY;  
   
140  /* PSTCACHE */  /* PSTCACHE */
141    typedef uint8 HASH_KEY[8];
 typedef uint8 BITMAP_ID[8];  
142    
143  /* Header for an entry in the persistent bitmap cache file */  /* Header for an entry in the persistent bitmap cache file */
144  typedef struct _PSTCACHE_CELLHEADER  typedef struct _PSTCACHE_CELLHEADER
145  {  {
146          BITMAP_ID bitmap_id;          HASH_KEY key;
147          uint8 width, height;          uint8 width, height;
148          uint16 length;          uint16 length;
149          uint32 stamp;          uint32 stamp;
# Line 247  typedef struct notify_data Line 256  typedef struct notify_data
256  }  }
257  NOTIFY;  NOTIFY;
258    
259    #ifndef PATH_MAX
260    #define PATH_MAX 256
261    #endif
262    
263  typedef struct fileinfo  typedef struct fileinfo
264  {  {
265          uint32 device_id, flags_and_attributes, accessmask;          uint32 device_id, flags_and_attributes, accessmask;
266          char path[256];          char path[PATH_MAX];
267          DIR *pdir;          DIR *pdir;
268          struct dirent *pdirent;          struct dirent *pdirent;
269          char pattern[64];          char pattern[PATH_MAX];
270          BOOL delete_on_close;          BOOL delete_on_close;
271          NOTIFY notify;          NOTIFY notify;
272          uint32 info_class;          uint32 info_class;
273  }  }
274  FILEINFO;  FILEINFO;
275    
276    typedef BOOL(*str_handle_lines_t) (const char *line, void *data);

Legend:
Removed from v.795  
changed lines
  Added in v.1311

  ViewVC Help
Powered by ViewVC 1.1.26