]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/CCode/Source/GuidChk/UtilsMsgs.h
More moves for Tool Packages
[mirror_edk2.git] / Tools / CCode / Source / GuidChk / UtilsMsgs.h
1 /*++
2
3 Copyright (c) 2004, Intel Corporation
4 All rights reserved. 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 //
32 // If someone prints an error message and didn't specify a source file name,
33 // then we print the utility name instead. However they must tell us the
34 // utility name early on via this function.
35 //
36 VOID
37 SetUtilityName (
38 INT8 *ProgramName
39 )
40 ;
41
42 void
43 Error (
44 INT8 *FileName,
45 UINT32 LineNumber,
46 UINT32 ErrorCode,
47 INT8 *OffendingText,
48 INT8 *MsgFmt,
49 ...
50 )
51 ;
52
53 void
54 Warning (
55 INT8 *FileName,
56 UINT32 LineNumber,
57 UINT32 ErrorCode,
58 INT8 *OffendingText,
59 INT8 *MsgFmt,
60 ...
61 )
62 ;
63
64 void
65 DebugMsg (
66 INT8 *FileName,
67 UINT32 LineNumber,
68 UINT32 MsgLevel,
69 INT8 *OffendingText,
70 INT8 *MsgFmt,
71 ...
72 )
73 ;
74
75 void
76 SetDebugMsgMask (
77 UINT32 MsgMask
78 )
79 ;
80
81 void
82 ParserSetPosition (
83 INT8 *SourceFileName,
84 UINT32 LineNum
85 )
86 ;
87
88 void
89 ParserError (
90 UINT32 ErrorCode,
91 INT8 *OffendingText,
92 INT8 *MsgFmt,
93 ...
94 )
95 ;
96
97 void
98 ParserWarning (
99 UINT32 ErrorCode,
100 INT8 *OffendingText,
101 INT8 *MsgFmt,
102 ...
103 )
104 ;
105
106 #endif