Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenff_types.h
Go to the documentation of this file.
00001 /***************************************************************************** 00002 * FullFAT - High Performance, Thread-Safe Embedded FAT File-System * 00003 * Copyright (C) 2009 James Walmsley (james@worm.me.uk) * 00004 * * 00005 * This program is free software: you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation, either version 3 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program. If not, see <http://www.gnu.org/licenses/>. * 00017 * * 00018 * IMPORTANT NOTICE: * 00019 * ================= * 00020 * Alternative Licensing is available directly from the Copyright holder, * 00021 * (James Walmsley). For more information consult LICENSING.TXT to obtain * 00022 * a Commercial license. * 00023 * * 00024 * See RESTRICTIONS.TXT for extra restrictions on the use of FullFAT. * 00025 * * 00026 * Removing the above notice is illegal and will invalidate this license. * 00027 ***************************************************************************** 00028 * See http://worm.me.uk/fullfat for more information. * 00029 * Or http://fullfat.googlecode.com/ for latest releases and the wiki. * 00030 *****************************************************************************/ 00031 00038 #ifndef _FF_TYPES_H_ 00039 #define _FF_TYPES_H_ 00040 00041 #include "ff_config.h" 00042 00043 //---------------- BOOLEAN TYPES 00044 typedef char FF_T_BOOL; 00045 00046 #define FF_TRUE 1 ///< 1 if bool not supported. 00047 #define FF_FALSE 0 ///< 0 if bool not supported. 00048 00049 //---------------- 8 BIT INTEGERS 00050 typedef char FF_T_INT8; 00051 typedef unsigned char FF_T_UINT8; 00052 typedef signed char FF_T_SINT8; 00053 00054 //---------------- 16 BIT INTEGERS 00055 typedef short FF_T_INT16; 00056 typedef unsigned short FF_T_UINT16; 00057 typedef signed short FF_T_SINT16; 00058 00059 //---------------- 32 BIT INTEGERS 00060 typedef long FF_T_INT32; 00061 typedef unsigned long FF_T_UINT32; 00062 typedef signed long FF_T_SINT32; 00063 00064 //---------------- Platform Integer Sizes 00065 typedef int FF_T_INT; 00066 typedef unsigned int FF_T_UINT; 00067 typedef signed int FF_T_SINT; 00068 00069 #ifdef FF_64_NUM_SUPPORT 00070 //---------------- 64 BIT INTEGERS // If you cannot define these, then make sure you see ff_config.h 00071 typedef long long FF_T_INT64; // about 64-bit number support. 00072 typedef unsigned long long FF_T_UINT64; // It means that FF_GetVolumeSize() cannot return a size 00073 typedef signed long long FF_T_SINT64; // > 4GB in bytes if you cannot support 64-bits integers. 00074 // No other function makes use of 64-bit numbers. 00075 #endif 00076 00077 typedef FF_T_SINT32 FF_ERROR; 00078 #ifdef FF_UNICODE_SUPPORT 00079 #include <wchar.h> 00080 typedef wchar_t FF_T_WCHAR; 00081 #endif 00082 00083 #endif // end of include guard Generated on Sun May 27 2012 04:33:11 for ReactOS by
1.7.6.1
|