]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.h
Update the file description to be more descriptive.
[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
2d9a7522 37#include <Library/PcdLib.h>\r
adbcbf8f 38\r
39//\r
40// Defines\r
41//\r
42#define CHAR_FAT_VALID 0x01\r
43\r
44#define ToUpper(a) (CHAR16) (a <= 0xFF ? mEngUpperMap[a] : a)\r
45#define ToLower(a) (CHAR16) (a <= 0xFF ? mEngLowerMap[a] : a)\r
46\r
47//\r
48// Prototypes\r
49//\r
50INTN\r
51EFIAPI\r
52EngStriColl (\r
53 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
54 IN CHAR16 *s1,\r
55 IN CHAR16 *s2\r
56 )\r
57;\r
58\r
59BOOLEAN\r
60EFIAPI\r
61EngMetaiMatch (\r
62 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
63 IN CHAR16 *String,\r
64 IN CHAR16 *Pattern\r
65 )\r
66;\r
67\r
68VOID\r
69EFIAPI\r
70EngStrLwr (\r
71 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
72 IN OUT CHAR16 *Str\r
73 )\r
74;\r
75\r
76VOID\r
77EFIAPI\r
78EngStrUpr (\r
79 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
80 IN OUT CHAR16 *Str\r
81 )\r
82;\r
83\r
84VOID\r
85EFIAPI\r
86EngFatToStr (\r
87 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
88 IN UINTN FatSize,\r
89 IN CHAR8 *Fat,\r
90 OUT CHAR16 *String\r
91 )\r
92;\r
93\r
94BOOLEAN\r
95EFIAPI\r
96EngStrToFat (\r
97 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
98 IN CHAR16 *String,\r
99 IN UINTN FatSize,\r
100 OUT CHAR8 *Fat\r
101 )\r
102;\r
103\r
104EFI_STATUS\r
105EFIAPI\r
106InitializeUnicodeCollationEng (\r
107 IN EFI_HANDLE ImageHandle,\r
108 IN EFI_SYSTEM_TABLE *SystemTable\r
109 )\r
110;\r
111\r
112#endif\r