]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/UtilsMsgs.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / GuidChk / UtilsMsgs.h
1 /*++
2
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
8
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.
11
12 Module Name:
13
14 UtilsMsgs.h
15
16 Abstract:
17
18 Prototypes for the EFI tools utility functions.
19
20 --*/
21
22 #ifndef _UTILS_MESSAGES_H_
23 #define _UTILS_MESSAGES_H_
24
25 STATUS
26 GetUtilityStatus (
27 VOID
28 );
29
30 //
31 // If someone prints an error message and didn't specify a source file name,
32 // then we print the utility name instead. However they must tell us the
33 // utility name early on via this function.
34 //
35 VOID
36 SetUtilityName (
37 INT8 *ProgramName
38 );
39
40 void
41 Error (
42 INT8 *FileName,
43 UINT32 LineNumber,
44 UINT32 ErrorCode,
45 INT8 *OffendingText,
46 INT8 *MsgFmt,
47 ...
48 );
49
50 void
51 Warning (
52 INT8 *FileName,
53 UINT32 LineNumber,
54 UINT32 ErrorCode,
55 INT8 *OffendingText,
56 INT8 *MsgFmt,
57 ...
58 );
59
60 void
61 DebugMsg (
62 INT8 *FileName,
63 UINT32 LineNumber,
64 UINT32 MsgLevel,
65 INT8 *OffendingText,
66 INT8 *MsgFmt,
67 ...
68 );
69
70 void
71 SetDebugMsgMask (
72 UINT32 MsgMask
73 );
74
75 void
76 ParserSetPosition (
77 INT8 *SourceFileName,
78 UINT32 LineNum
79 );
80
81 void
82 ParserError (
83 UINT32 ErrorCode,
84 INT8 *OffendingText,
85 INT8 *MsgFmt,
86 ...
87 );
88
89 void
90 ParserWarning (
91 UINT32 ErrorCode,
92 INT8 *OffendingText,
93 INT8 *MsgFmt,
94 ...
95 );
96
97 #endif