]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/CodeTools/Source/GuidChk/CommonUtils.h
More renames for Tool Packages
[mirror_edk2.git] / Tools / CodeTools / Source / GuidChk / CommonUtils.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name: \r
13\r
14 CommonUtils.h\r
15 \r
16Abstract:\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
28typedef unsigned char UINT8;\r
29typedef char INT8;\r
30typedef unsigned short UINT16;\r
31typedef unsigned int UINT32;\r
32\r
33typedef UINT8 BOOLEAN;\r
34typedef 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
46typedef struct _STRING_LIST {\r
47 struct _STRING_LIST *Next;\r
48 char *Str;\r
49} STRING_LIST;\r
50\r
51int\r
52CreateGuidList (\r
53 INT8 *OutFileName\r
54 )\r
55;\r
56\r
57#endif // #ifndef _COMMON_UTILS_H_\r