1/* 2* Typedefs.h 3* 4*Copyright (C) 2010 Beceem Communications, Inc. 5* 6*This program is free software: you can redistribute it and/or modify 7*it under the terms of the GNU General Public License version 2 as 8*published by the Free Software Foundation. 9* 10*This program is distributed in the hope that it will be useful,but 11*WITHOUT ANY WARRANTY; without even the implied warranty of 12*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 13*See the GNU General Public License for more details. 14* 15*You should have received a copy of the GNU General Public License 16*along with this program. If not, write to the Free Software Foundation, Inc., 17*51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18* 19*/ 20 21 22#ifndef __TYPEDEFS_H__ 23#define __TYPEDEFS_H__ 24#define STATUS_SUCCESS 0 25#define STATUS_FAILURE -1 26 27#define FALSE 0 28#define TRUE 1 29 30typedef char BOOLEAN; 31typedef char CHAR; 32typedef int INT; 33typedef short SHORT; 34typedef long LONG; 35typedef void VOID; 36 37typedef unsigned char UCHAR; 38typedef unsigned char B_UINT8; 39typedef unsigned short USHORT; 40typedef unsigned short B_UINT16; 41typedef unsigned int UINT; 42typedef unsigned int B_UINT32; 43typedef unsigned long ULONG; 44typedef unsigned long DWORD; 45 46typedef char* PCHAR; 47typedef short* PSHORT; 48typedef int* PINT; 49typedef long* PLONG; 50typedef void* PVOID; 51 52typedef unsigned char* PUCHAR; 53typedef unsigned short* PUSHORT; 54typedef unsigned int* PUINT; 55typedef unsigned long* PULONG; 56typedef unsigned long long ULONG64; 57typedef unsigned long long LARGE_INTEGER; 58typedef unsigned int UINT32; 59#ifndef NULL 60#define NULL 0 61#endif 62 63 64#endif //__TYPEDEFS_H__ 65 66