00001 /*! \file include/types.h 00002 * \brief Generic types. 00003 * \author Andrea Righi <drizzt@inwind.it> 00004 * \date Last update: 2004-01-27 00005 * \note Copyright (©) 2003 Andrea Righi 00006 */ 00007 00008 #ifndef TYPES_H 00009 #define TYPES_H 00010 00011 typedef unsigned char byte; 00012 typedef unsigned short word; 00013 typedef unsigned int dword; 00014 typedef int bool; 00015 typedef signed char int8_t; 00016 typedef unsigned char uint8_t; 00017 typedef signed short int int16_t; 00018 typedef unsigned short int uint16_t; 00019 typedef signed int int32_t; 00020 typedef unsigned int uint32_t; 00021 typedef unsigned long long uint64_t; 00022 typedef long long int64_t; 00023 typedef int8_t int8; 00024 typedef uint8_t uint8; 00025 typedef int16_t int16; 00026 typedef uint16_t uint16; 00027 typedef int32_t int32; 00028 typedef uint32_t uint32; 00029 typedef int64_t int64; 00030 typedef uint64_t uint64; 00031 typedef unsigned char uchar_t; 00032 typedef uint32_t wchar_t; 00033 typedef uint32_t size_t; 00034 typedef uint32_t addr_t; 00035 typedef int32_t pid_t; 00036 00037 #endif