--- sourceforge.net/trunk/rdesktop/types.h 2002/07/18 16:38:31 64 +++ sourceforge.net/trunk/rdesktop/types.h 2003/06/06 11:08:15 413 @@ -1,7 +1,7 @@ /* rdesktop: A Remote Desktop Protocol client. Common data types - Copyright (C) Matthew Chapman 1999-2000 + Copyright (C) Matthew Chapman 1999-2002 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,8 +26,11 @@ #endif typedef unsigned char uint8; +typedef signed char sint8; typedef unsigned short uint16; +typedef signed short sint16; typedef unsigned int uint32; +typedef signed int sint32; typedef void *HBITMAP; typedef void *HGLYPH; @@ -53,10 +56,10 @@ typedef struct _BOUNDS { - uint16 left; - uint16 top; - uint16 right; - uint16 bottom; + sint16 left; + sint16 top; + sint16 right; + sint16 bottom; } BOUNDS; @@ -65,7 +68,7 @@ { uint8 style; uint8 width; - uint8 colour; + uint32 colour; } PEN; @@ -82,8 +85,8 @@ typedef struct _FONTGLYPH { - uint16 offset; - uint16 baseline; + sint16 offset; + sint16 baseline; uint16 width; uint16 height; HBITMAP pixmap; @@ -98,3 +101,20 @@ } DATABLOB; + +typedef struct _key_translation +{ + uint8 scancode; + uint16 modifiers; +} +key_translation; + +struct _cliprdr_dataformat; + +typedef struct _cliprdr_dataformat +{ + uint32 identifier; + uint8 textual_description[32]; + struct _cliprdr_dataformat *next; +} +cliprdr_dataformat;