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