Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs.h
Go to the documentation of this file.
1 /****************************
2 * Typedefs.h
3 ****************************/
4 #ifndef __TYPEDEFS_H__
5 #define __TYPEDEFS_H__
6 #define STATUS_SUCCESS 0
7 #define STATUS_FAILURE -1
8 
9 #define FALSE 0
10 #define TRUE 1
11 
12 typedef char BOOLEAN;
13 typedef char CHAR;
14 typedef int INT;
15 typedef short SHORT;
16 typedef long LONG;
17 typedef void VOID;
18 
19 typedef unsigned char UCHAR;
20 typedef unsigned char B_UINT8;
21 typedef unsigned short USHORT;
22 typedef unsigned short B_UINT16;
23 typedef unsigned int UINT;
24 typedef unsigned int B_UINT32;
25 typedef unsigned long ULONG;
26 typedef unsigned long DWORD;
27 
28 typedef char* PCHAR;
29 typedef short* PSHORT;
30 typedef int* PINT;
31 typedef long* PLONG;
32 typedef void* PVOID;
33 
34 typedef unsigned char* PUCHAR;
35 typedef unsigned short* PUSHORT;
36 typedef unsigned int* PUINT;
37 typedef unsigned long* PULONG;
38 typedef unsigned long long ULONG64;
39 typedef unsigned long long LARGE_INTEGER;
40 typedef unsigned int UINT32;
41 #ifndef NULL
42 #define NULL 0
43 #endif
44 
45 
46 #endif //__TYPEDEFS_H__
47