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