types.h

00001 /**************************************************************************************
00002  Copyright (c) 2002 The UbixOS Project
00003  All rights reserved.
00004 
00005 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
00006 
00007 Redistributions of source code must retain the above copyright notice, this list of conditions, the following disclaimer and the list of authors.
00008 Redistributions in binary form must reproduce the above copyright notice, this list of conditions, the following disclaimer and the list of authors
00009 in the documentation and/or other materials provided with the distribution. Neither the name of the UbixOS Project nor the names of its
00010 contributors may be used to endorse or promote products derived from this software without specific prior written permission.
00011 
00012 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
00013 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00014 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00015 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
00016 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
00017 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
00018 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00019 
00020  $Id$
00021 
00022 **************************************************************************************/
00023 
00024 #ifndef _TYPES_H
00025 #define _TYPES_H
00026 
00027 #include <sys/_types.h>
00028 
00029 #ifndef NULL
00030 #define NULL 0x0
00031 #endif
00032 
00033 typedef unsigned char byte;           /* 8-bit byte */
00034 typedef unsigned short word;          /* 16-bit word */
00035 typedef unsigned long dWord;          /* 32-bit dword */
00036 
00037 typedef unsigned char uChar;
00038 typedef unsigned long uLong;
00039 typedef unsigned short uShort;
00040 typedef unsigned int uInt;
00041 
00042 typedef unsigned char  uInt8;
00043 typedef unsigned short uInt16;
00044 typedef unsigned long  uInt32;
00045 typedef char Int8;
00046 typedef short Int16;
00047 typedef long Int32;
00048 
00049 typedef unsigned char uint8_t;
00050 typedef unsigned short uint16_t;
00051 typedef unsigned int uint32_t;
00052 
00053 typedef int pidType;
00054 
00055 typedef int  pid_t;
00056 typedef int size_t; /* standart */
00057 #ifndef NOBOOL
00058 typedef enum { FALSE=0,TRUE=1 } bool;
00059 #endif
00060 
00061 #endif

Generated on Wed Apr 28 17:49:42 2004 for Ubixos by doxygen 1.3.3