]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.h
remove some comments introduced by tools.
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / UnicodeCollation / EnglishDxe / UnicodeCollationEng.h
CommitLineData
adbcbf8f 1/*++\r
2\r
3Copyright (c) 2006, 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 UnicodeCollationEng.h\r
15\r
16Abstract:\r
17\r
18 Head file for Unicode Collation Protocol (English)\r
19\r
20Revision History\r
21\r
22--*/\r
23\r
24#ifndef _UNICODE_COLLATION_ENG_H\r
25#define _UNICODE_COLLATION_ENG_H\r
26\r
27\r
ed7748fe 28\r
adbcbf8f 29#include <Uefi.h>\r
30\r
ed7748fe 31\r
adbcbf8f 32#include <Protocol/UnicodeCollation.h>\r
ed7748fe 33\r
adbcbf8f 34#include <Library/DebugLib.h>\r
35#include <Library/UefiDriverEntryPoint.h>\r
36#include <Library/UefiBootServicesTableLib.h>\r
37\r
38//\r
39// Defines\r
40//\r
41#define CHAR_FAT_VALID 0x01\r
42\r
43#define ToUpper(a) (CHAR16) (a <= 0xFF ? mEngUpperMap[a] : a)\r
44#define ToLower(a) (CHAR16) (a <= 0xFF ? mEngLowerMap[a] : a)\r
45\r
46//\r
47// Prototypes\r
48//\r
49INTN\r
50EFIAPI\r
51EngStriColl (\r
52 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
53 IN CHAR16 *s1,\r
54 IN CHAR16 *s2\r
55 )\r
56;\r
57\r
58BOOLEAN\r
59EFIAPI\r
60EngMetaiMatch (\r
61 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
62 IN CHAR16 *String,\r
63 IN CHAR16 *Pattern\r
64 )\r
65;\r
66\r
67VOID\r
68EFIAPI\r
69EngStrLwr (\r
70 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
71 IN OUT CHAR16 *Str\r
72 )\r
73;\r
74\r
75VOID\r
76EFIAPI\r
77EngStrUpr (\r
78 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
79 IN OUT CHAR16 *Str\r
80 )\r
81;\r
82\r
83VOID\r
84EFIAPI\r
85EngFatToStr (\r
86 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
87 IN UINTN FatSize,\r
88 IN CHAR8 *Fat,\r
89 OUT CHAR16 *String\r
90 )\r
91;\r
92\r
93BOOLEAN\r
94EFIAPI\r
95EngStrToFat (\r
96 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
97 IN CHAR16 *String,\r
98 IN UINTN FatSize,\r
99 OUT CHAR8 *Fat\r
100 )\r
101;\r
102\r
103EFI_STATUS\r
104EFIAPI\r
105InitializeUnicodeCollationEng (\r
106 IN EFI_HANDLE ImageHandle,\r
107 IN EFI_SYSTEM_TABLE *SystemTable\r
108 )\r
109;\r
110\r
111#endif\r