types.h revision d65680efa46fa49e8bf14e67b29b782510ff934c
/*
rdesktop: A Remote Desktop Protocol client.
Common data types
Copyright (C) Matthew Chapman 1999-2007
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Sun GPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Sun elects to use only
* the General Public License version 2 (GPLv2) at this time for any software where
* a choice of GPL license versions is made available with the language indicating
* that GPLv2 or any later version may be used, or where a choice of which version
* of the GPL is applied is otherwise unspecified.
*/
typedef int RD_BOOL;
#ifndef True
#define True (1)
#define False (0)
#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 *RD_HBITMAP;
typedef void *RD_HGLYPH;
typedef void *RD_HCOLOURMAP;
typedef void *RD_HCURSOR;
typedef struct _RD_POINT
{
sint16 x, y;
}
typedef struct _COLOURENTRY
{
}
typedef struct _COLOURMAP
{
}
typedef struct _BOUNDS
{
}
typedef struct _PEN
{
}
PEN;
typedef struct _BRUSH
{
}
typedef struct _FONTGLYPH
{
}
typedef struct _DATABLOB
{
void *data;
int size;
}
typedef struct _key_translation
{
/* For normal scancode translations */
/* For sequences. If keysym is nonzero, the fields above are not used. */
struct _key_translation *next;
}
typedef struct _VCHANNEL
{
char name[8];
}
/* PSTCACHE */
/* Header for an entry in the persistent bitmap cache file */
typedef struct _PSTCACHE_CELLHEADER
{
}
#define MAX_CBSIZE 256
/* RDPSND */
typedef struct _RD_WAVEFORMATEX
{
typedef struct _RDPCOMP
{
}
/* RDPDR */
typedef uint32 RD_NTSTATUS;
typedef uint32 RD_NTHANDLE;
typedef struct _DEVICE_FNS
{
}
typedef struct rdpdr_device_info
{
char name[8];
char *local_path;
void *pdevice_data;
}
typedef struct rdpdr_serial_device_info
{
int dtr;
int rts;
}
typedef struct rdpdr_parallel_device_info
{
}
typedef struct rdpdr_printer_info
{
}
typedef struct notify_data
{
unsigned int num_entries;
}
#ifndef PATH_MAX
#define PATH_MAX 256
#endif
typedef struct fileinfo
{
}