00001 /**************************************************************************** 00002 * This file is part of the AVRIDE device driver. 00003 * 00004 * Copyright (c) 2002-2003 by Michael Fischer. All rights reserved. 00005 * 00006 * Redistribution and use in source and binary forms, with or without 00007 * modification, are permitted provided that the following conditions 00008 * are met: 00009 * 00010 * 1. Redistributions of source code must retain the above copyright 00011 * notice, this list of conditions and the following disclaimer. 00012 * 2. Redistributions in binary form must reproduce the above copyright 00013 * notice, this list of conditions and the following disclaimer in the 00014 * documentation and/or other materials provided with the distribution. 00015 * 3. Neither the name of the author nor the names of its contributors may 00016 * be used to endorse or promote products derived from this software 00017 * without specific prior written permission. 00018 * 00019 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00020 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00021 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 00022 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 00023 * THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00024 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 00025 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 00026 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 00027 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00028 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 00029 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00030 * SUCH DAMAGE. 00031 * 00032 **************************************************************************** 00033 * History: 00034 * 00035 * 14.12.02 mifi First Version 00036 * 18.01.03 mifi Change Licence from GPL to BSD. 00037 ****************************************************************************/ 00038 #ifndef __TYPEDEFS_H__ 00039 #define __TYPEDEFS_H__ 00040 00041 typedef char CHAR; /* 8-bit signed data */ 00042 typedef unsigned char BYTE; /* 8-bit unsigned data */ 00043 typedef unsigned short WORD; /* 16-bit unsigned data */ 00044 typedef long LONG; /* 32-bit signed data */ 00045 typedef unsigned long ULONG; /* 32-bit unsigned data */ 00046 typedef unsigned long DWORD; /* 32-bit unsigned data */ 00047 00048 #define FALSE 0 00049 #define TRUE 1 00050 00051 #endif /* !__TYPEDEFS_H_ */