00001 /* 00002 * Copyright (C) 2006. QLogic Corporation. All Rights Reserved. 00003 */ 00004 00006 // 00007 // Copyright 2006 PathScale, Inc. All Rights Reserved. 00008 // 00009 // This program is free software; you can redistribute it and/or modify it 00010 // under the terms of version 2 of the GNU General Public License as 00011 // published by the Free Software Foundation. 00012 // 00013 // This program is distributed in the hope that it would be useful, but 00014 // WITHOUT ANY WARRANTY; without even the implied warranty of 00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00016 // 00017 // Further, this software is distributed without any warranty that it is 00018 // free of the rightful claim of any third person regarding infringement 00019 // or the like. Any license provided herein, whether implied or 00020 // otherwise, applies only to this software file. Patent licenses, if 00021 // any, provided herein do not apply to combinations of this program with 00022 // other software, or any other product whatsoever. 00023 // 00024 // You should have received a copy of the GNU General Public License along 00025 // with this program; if not, write the Free Software Foundation, Inc., 59 00026 // Temple Place - Suite 330, Boston MA 02111-1307, USA. 00028 00029 #ifndef __GPIN_BASE_TYPES_H__ 00030 #define __GPIN_BASE_TYPES_H__ 00031 00032 #include <stdbool.h> 00033 00034 // GSPIN wrappers over the basic types+ 00035 00036 typedef void gs_void_t; 00037 typedef char gs_char_t; 00038 typedef unsigned char gs_unsigned_char_t; 00039 typedef gs_char_t *gs_string_t; 00040 typedef int gs_int_t; 00041 typedef unsigned int gs_unsigned_t; 00042 typedef unsigned int gs_count_t; 00043 typedef bool gs_bool_t; 00044 typedef long gs_long_t; 00045 typedef unsigned long gs_unsigned_long_t; 00046 typedef unsigned long long gs_unsigned_long_long_t; 00047 typedef long long gs_long_long_t; 00048 typedef long double gs_long_double_t; 00049 typedef float gs_float_t; 00050 typedef double gs_double_t; 00051 #define gs_true true 00052 #define gs_false false 00053 00054 // GSPIN wrappers over the basic types- 00055 00056 #endif // __GPIN_BASE_TYPES_H__
1.5.6