Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

types.h

Go to the documentation of this file.
00001 // vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=c:
00002 /*
00003  * Copyright (C) 2005 Dell Inc.
00004  *  by Michael Brown <Michael_E_Brown@dell.com>
00005  * Licensed under the Open Software License version 2.1 
00006  * 
00007  * Alternatively, you can redistribute it and/or modify 
00008  * it under the terms of the GNU General Public License as published 
00009  * by the Free Software Foundation; either version 2 of the License, 
00010  * or (at your option) any later version.
00011 
00012  * This program is distributed in the hope that it will be useful, but 
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of 
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
00015  * See the GNU General Public License for more details.
00016  */
00017 
00018 
00019 #ifndef TYPES_H
00020 #define TYPES_H
00021 
00022 // compat header should always be first header
00023 #include "smbios/compat.h"
00024 
00025 typedef unsigned char   u8;
00026 typedef unsigned short  u16;
00027 typedef unsigned int    u32;
00028 
00029 typedef char   s8;
00030 typedef short  s16;
00031 typedef int    s32;
00032 
00033 #if defined(LIBSMBIOS_HAS_LONG_LONG)
00034 typedef unsigned long long  u64;
00035 typedef long long  s64;
00036 #elif defined(LIBSMBIOS_HAS_MS_INT64)
00037 typedef unsigned __int64   u64;
00038 typedef __int64 s64;
00039 #else
00040 #error  "No LONG LONG or __INT64 support. Current compiler config is not supported."
00041 #endif
00042 
00043 #endif /* TYPES_H */

Generated on Wed Apr 11 16:25:10 2007 for SMBIOS Library by doxygen 1.3.5