Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
4b1e1121 HT |
3 | Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name: \r | |
13 | \r | |
14 | UtilsMsgs.h\r | |
15 | \r | |
16 | Abstract:\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 | |
25 | STATUS\r | |
26 | GetUtilityStatus (\r | |
27 | VOID\r | |
e00e1d46 | 28 | );\r |
3eb9473e | 29 | \r |
30 | //\r | |
31 | // If someone prints an error message and didn't specify a source file name,\r | |
32 | // then we print the utility name instead. However they must tell us the\r | |
33 | // utility name early on via this function.\r | |
34 | //\r | |
35 | VOID\r | |
36 | SetUtilityName (\r | |
37 | INT8 *ProgramName\r | |
e00e1d46 | 38 | );\r |
3eb9473e | 39 | \r |
40 | void\r | |
41 | Error (\r | |
42 | INT8 *FileName,\r | |
43 | UINT32 LineNumber,\r | |
44 | UINT32 ErrorCode,\r | |
45 | INT8 *OffendingText,\r | |
46 | INT8 *MsgFmt,\r | |
47 | ...\r | |
e00e1d46 | 48 | );\r |
3eb9473e | 49 | \r |
50 | void\r | |
51 | Warning (\r | |
52 | INT8 *FileName,\r | |
53 | UINT32 LineNumber,\r | |
54 | UINT32 ErrorCode,\r | |
55 | INT8 *OffendingText,\r | |
56 | INT8 *MsgFmt,\r | |
57 | ...\r | |
e00e1d46 | 58 | );\r |
3eb9473e | 59 | \r |
60 | void\r | |
61 | DebugMsg (\r | |
62 | INT8 *FileName,\r | |
63 | UINT32 LineNumber,\r | |
64 | UINT32 MsgLevel,\r | |
65 | INT8 *OffendingText,\r | |
66 | INT8 *MsgFmt,\r | |
67 | ...\r | |
e00e1d46 | 68 | );\r |
3eb9473e | 69 | \r |
70 | void\r | |
71 | SetDebugMsgMask (\r | |
72 | UINT32 MsgMask\r | |
e00e1d46 | 73 | );\r |
3eb9473e | 74 | \r |
75 | void\r | |
76 | ParserSetPosition (\r | |
77 | INT8 *SourceFileName,\r | |
78 | UINT32 LineNum\r | |
e00e1d46 | 79 | );\r |
3eb9473e | 80 | \r |
81 | void\r | |
82 | ParserError (\r | |
83 | UINT32 ErrorCode,\r | |
84 | INT8 *OffendingText,\r | |
85 | INT8 *MsgFmt,\r | |
86 | ...\r | |
e00e1d46 | 87 | );\r |
3eb9473e | 88 | \r |
89 | void\r | |
90 | ParserWarning (\r | |
91 | UINT32 ErrorCode,\r | |
92 | INT8 *OffendingText,\r | |
93 | INT8 *MsgFmt,\r | |
94 | ...\r | |
e00e1d46 | 95 | );\r |
3eb9473e | 96 | \r |
97 | #endif\r |