www.pudn.com > arm_uDisk.rar > mx_types.h


/* ID: mx_types.h,v 1.5 2003/12/01 04:18:26 shibata Exp $ */ 
 
#ifdef CHECK_REVISION 
char REVISION_TYPES_H[]="ID: mx_types.h,v 1.5 2003/12/01 04:18:26 shibata Exp $"; 
#else 
#ifndef __mxtrek_types_h__ 
#define __mxtrek_types_h__ 
 
#ifdef __cplusplus 
#define BEGIN_C_DECLS	extern "C" { 
#define END_C_DECLS		} 
#else /* __cplusplus */ 
#define BEGIN_C_DECLS 
#define END_C_DECLS 
#endif /* __cplusplus */ 
 
#define NOUSE_INLINE 
 
#ifdef NOUSE_INLINE 
#ifndef INLINE 
#define INLINE static 
#endif /* INLINE */ 
#ifdef INLINE_C 
#define INLINE_XXX 
#endif /* INLINE_C */ 
#else /* NOUSE_INLINE */ 
#ifndef INLINE 
#ifdef  __cplusplus 
#define INLINE inline 
#elif defined (_MSC_VER) 
#define INLINE __inline 
#elif defined (__GNUC__) 
#define INLINE __inline__ 
#else 
#define INLINE inline 
#endif 
#endif /* INLINE */ 
#endif /* NOUSE_INLINE */ 
 
#ifndef NULL 
#define NULL	((void*)0) 
#endif 
 
typedef signed char		s_8; 
typedef unsigned char		u_8; 
typedef signed short		s_16; 
typedef unsigned short		u_16; 
typedef signed long		s_32; 
typedef unsigned long		u_32; 
typedef signed int			int_t; 
typedef unsigned int		uint_t; 
typedef void*			fhandle_t; 
typedef u_32				fsize_t; 
typedef s_32				fssize_t; 
typedef s_32				foff_t; 
typedef u_32				ftime_t; 
 
typedef unsigned char	bool; 
 
#define MAX_VALUE_FSIZE		(fsize_t)0xFFFFFFFF 
#define MAX_VALUE_FSSIZE	(fssize_t)0x7FFFFFFF 
#define MAX_VALUE_FOFF		(foff_t)0x7FFFFFFF 
#define MAX_VALUE_FTIME		(ftime_t)0xFFFFFFFF 
 
#endif /*__mxtrek_types_h__*/ 
#endif /* CHECK_REVISION */