00001 /***************************************************************** 00002 | 00003 | Melo - Common Types 00004 | 00005 | Copyright 2004-2006 Axiomatic Systems LLC 00006 | 00007 | This file is part of Melo (Melo AAC Decoder). 00008 | 00009 | Unless you have obtained Melo under a difference license, 00010 | this version of Melo is Melo|GPL. 00011 | Melo|GPL is free software; you can redistribute it and/or modify 00012 | it under the terms of the GNU General Public License as published by 00013 | the Free Software Foundation; either version 2, or (at your option) 00014 | any later version. 00015 | 00016 | Melo|GPL is distributed in the hope that it will be useful, 00017 | but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 | GNU General Public License for more details. 00020 | 00021 | You should have received a copy of the GNU General Public License 00022 | along with Melo|GPL; see the file COPYING. If not, write to the 00023 | Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 00024 | 02111-1307, USA. 00025 | 00026 ****************************************************************/ 00027 00028 #ifndef _MLO_TYPES_H_ 00029 #define _MLO_TYPES_H_ 00030 00031 /*---------------------------------------------------------------------- 00032 | includes 00033 +---------------------------------------------------------------------*/ 00034 #include "MloConfig.h" 00035 00036 /*---------------------------------------------------------------------- 00037 | types 00038 +---------------------------------------------------------------------*/ 00043 typedef enum { 00044 MLO_FALSE = 0, 00045 MLO_TRUE = 1 00046 } MLO_Boolean; 00047 00055 typedef int MLO_Result; 00056 00065 typedef MLO_UInt32 MLO_Flags; 00066 00070 typedef MLO_UInt32 MLO_Mask; 00071 00076 typedef MLO_UInt32 MLO_Size; 00077 00081 typedef MLO_Int32 MLO_Offset; 00082 00086 typedef unsigned char* MLO_Address; 00087 00092 typedef MLO_UInt32 MLO_Range; 00093 00098 typedef MLO_UInt32 MLO_Cardinal; 00099 00104 typedef MLO_UInt32 MLO_Ordinal; 00105 00106 00112 typedef const char* MLO_String; 00113 typedef char* MLO_StringBuffer; 00114 00118 typedef MLO_UInt8 MLO_Byte; 00119 00123 typedef MLO_UInt8* MLO_ByteBuffer; 00124 00125 #endif /* _MLO_TYPES_H_ */