]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.h
Do not use EntryPoint library for EfiLdr module.
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / UnicodeCollation / EnglishDxe / UnicodeCollationEng.h
... / ...
CommitLineData
1/** @file\r
2 Head file for Unicode Collation Protocol (English)\r
3\r
4Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _UNICODE_COLLATION_ENG_H\r
16#define _UNICODE_COLLATION_ENG_H\r
17\r
18\r
19\r
20#include <Uefi.h>\r
21\r
22\r
23#include <Protocol/UnicodeCollation.h>\r
24\r
25#include <Library/DebugLib.h>\r
26#include <Library/UefiDriverEntryPoint.h>\r
27#include <Library/UefiBootServicesTableLib.h>\r
28#include <Library/PcdLib.h>\r
29\r
30//\r
31// Defines\r
32//\r
33#define CHAR_FAT_VALID 0x01\r
34\r
35#define ToUpper(a) (CHAR16) (a <= 0xFF ? mEngUpperMap[a] : a)\r
36#define ToLower(a) (CHAR16) (a <= 0xFF ? mEngLowerMap[a] : a)\r
37\r
38//\r
39// Prototypes\r
40//\r
41INTN\r
42EFIAPI\r
43EngStriColl (\r
44 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
45 IN CHAR16 *s1,\r
46 IN CHAR16 *s2\r
47 )\r
48;\r
49\r
50BOOLEAN\r
51EFIAPI\r
52EngMetaiMatch (\r
53 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
54 IN CHAR16 *String,\r
55 IN CHAR16 *Pattern\r
56 )\r
57;\r
58\r
59VOID\r
60EFIAPI\r
61EngStrLwr (\r
62 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
63 IN OUT CHAR16 *Str\r
64 )\r
65;\r
66\r
67VOID\r
68EFIAPI\r
69EngStrUpr (\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
77EngFatToStr (\r
78 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
79 IN UINTN FatSize,\r
80 IN CHAR8 *Fat,\r
81 OUT CHAR16 *String\r
82 )\r
83;\r
84\r
85BOOLEAN\r
86EFIAPI\r
87EngStrToFat (\r
88 IN EFI_UNICODE_COLLATION_PROTOCOL *This,\r
89 IN CHAR16 *String,\r
90 IN UINTN FatSize,\r
91 OUT CHAR8 *Fat\r
92 )\r
93;\r
94\r
95EFI_STATUS\r
96EFIAPI\r
97InitializeUnicodeCollationEng (\r
98 IN EFI_HANDLE ImageHandle,\r
99 IN EFI_SYSTEM_TABLE *SystemTable\r
100 )\r
101;\r
102\r
103#endif\r