]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name: \r | |
13 | \r | |
14 | CommonUtils.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Common utility defines and structure definitions.\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _COMMON_UTILS_H_\r | |
23 | #define _COMMON_UTILS_H_\r | |
24 | \r | |
25 | //\r | |
26 | // Basic types\r | |
27 | //\r | |
28 | typedef unsigned char UINT8;\r | |
29 | typedef char INT8;\r | |
30 | typedef unsigned short UINT16;\r | |
31 | typedef unsigned int UINT32;\r | |
32 | \r | |
33 | typedef UINT8 BOOLEAN;\r | |
34 | typedef UINT32 STATUS;\r | |
35 | \r | |
36 | #define TRUE 1\r | |
37 | #define FALSE 0\r | |
38 | \r | |
39 | #define STATUS_SUCCESS 0\r | |
40 | #define STATUS_WARNING 1\r | |
41 | #define STATUS_ERROR 2\r | |
42 | \r | |
43 | //\r | |
44 | // Linked list of strings\r | |
45 | //\r | |
46 | typedef struct _STRING_LIST {\r | |
47 | struct _STRING_LIST *Next;\r | |
48 | char *Str;\r | |
49 | } STRING_LIST;\r | |
50 | \r | |
51 | int\r | |
52 | CreateGuidList (\r | |
53 | INT8 *OutFileName\r | |
54 | )\r | |
55 | ;\r | |
56 | \r | |
57 | #endif // #ifndef _COMMON_UTILS_H_\r |