Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
90 | gunterl | 1 | /******************************************************************************* |
2 | File: StdDefines.h |
||
3 | |||
4 | Standard definitions file. |
||
5 | |||
6 | Created: 1.00 04/14/03 GND Gary Dion |
||
7 | |||
8 | Version: 1.00 |
||
9 | |||
10 | Revisions: 1.00 04/14/03 GND Initial Release. |
||
11 | *******************************************************************************/ |
||
12 | |||
13 | /* General use definitions */ |
||
14 | # define TRUE (1) |
||
15 | # define FALSE (0) |
||
16 | |||
17 | # define ON (1) |
||
18 | # define OFF (0) |
||
19 | |||
20 | # define HI (1) |
||
21 | # define LO (0) |
||
22 | |||
23 | /* General status constants. */ |
||
24 | # define PASS (1) |
||
25 | # define OK (PASS) |
||
26 | # define FAIL (0) |
||
27 | # define ERROR (FAIL) |
||
28 | |||
29 | /* Define PUBLIC as extern. */ |
||
30 | #define PUBLIC extern |
||
31 | |||
32 | /* Define PRIVATE as static. */ |
||
33 | #define PRIVATE static |
||
34 | |||
35 | /* Scalar type definitions */ |
||
36 | typedef char INT8; |
||
37 | typedef unsigned char UINT8; |
||
38 | typedef unsigned char UCHAR; |
||
39 | typedef unsigned char BOOL; |
||
40 | |||
41 | typedef int INT16; |
||
42 | typedef unsigned int UINT16; |
||
43 | typedef unsigned int UINT; |
||
44 | |||
45 | typedef short SHORT; |
||
46 | typedef unsigned short USHORT; |
||
47 | |||
48 | typedef long INT32; |
||
49 | typedef unsigned long UINT32; |
||
50 | typedef unsigned long ULONG; |
||
51 | typedef long STATUS; |