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