]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/CommonUtils.h
3 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Common utility defines and structure definitions.
22 #ifndef _COMMON_UTILS_H_
23 #define _COMMON_UTILS_H_
28 typedef unsigned char UINT8
;
30 typedef unsigned short UINT16
;
31 typedef unsigned int UINT32
;
33 typedef UINT8 BOOLEAN
;
34 typedef UINT32 STATUS
;
39 #define STATUS_SUCCESS 0
40 #define STATUS_WARNING 1
41 #define STATUS_ERROR 2
44 // Linked list of strings
46 typedef struct _STRING_LIST
{
47 struct _STRING_LIST
*Next
;
56 #endif // #ifndef _COMMON_UTILS_H_