nfs-ganesha 1.4
|
00001 /* 00002 * 00003 * 00004 * Copyright CEA/DAM/DIF (2008) 00005 * contributeur : Philippe DENIEL philippe.deniel@cea.fr 00006 * Thomas LEIBOVICI thomas.leibovici@cea.fr 00007 * 00008 * 00009 * This program is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public 00011 * License as published by the Free Software Foundation; either 00012 * version 3 of the License, or (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with this library; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00022 * 00023 * --------------------------------------- 00024 */ 00025 00038 #ifndef _EXTENDED_TYPES_H 00039 #define _EXTENDED_TYPES_H 00040 00041 #include <sys/types.h> 00042 00043 /* Added extended types, often missing */ 00044 typedef long long longlong_t; 00045 typedef unsigned long long u_longlong_t; 00046 00047 typedef unsigned int uint_t; 00048 typedef unsigned int uint32_t; 00049 00050 # ifndef __int8_t_defined 00051 00052 #if SIZEOF_LONG == 8 00053 typedef unsigned long int uint64_t; 00054 typedef long int int64_t; 00055 #else 00056 typedef unsigned long long int uint64_t; 00057 typedef long long int int64_t; 00058 #endif 00059 #endif 00060 00061 #endif /* _EXTENDED_TYPES_H */