]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/UnicodeCollation.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / UnicodeCollation.h
index 239badca3fce7e0bb991e89d2e81516c95cc0fe3..c4025eb4ff8ac26f3cd3d7861acdb3c18fd596a9 100644 (file)
@@ -4,13 +4,7 @@
   to perform lexical comparison functions on Unicode strings for given languages.\r
 \r
 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under\r
-the terms and conditions of the BSD License that accompanies this distribution.\r
-The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -27,27 +21,27 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     0xa4c751fc, 0x23ae, 0x4c3e, {0x92, 0xe9, 0x49, 0x64, 0xcf, 0x63, 0xf3, 0x49 } \\r
   }\r
 \r
-typedef struct _EFI_UNICODE_COLLATION_PROTOCOL  EFI_UNICODE_COLLATION_PROTOCOL;\r
-\r
+typedef struct _EFI_UNICODE_COLLATION_PROTOCOL EFI_UNICODE_COLLATION_PROTOCOL;\r
 \r
 ///\r
 /// Protocol GUID name defined in EFI1.1.\r
 ///\r
-#define UNICODE_COLLATION_PROTOCOL              EFI_UNICODE_COLLATION_PROTOCOL_GUID\r
+#define UNICODE_COLLATION_PROTOCOL  EFI_UNICODE_COLLATION_PROTOCOL_GUID\r
 \r
 ///\r
 /// Protocol defined in EFI1.1.\r
 ///\r
-typedef EFI_UNICODE_COLLATION_PROTOCOL          UNICODE_COLLATION_INTERFACE;\r
+typedef EFI_UNICODE_COLLATION_PROTOCOL UNICODE_COLLATION_INTERFACE;\r
 \r
 ///\r
 /// Protocol data structures and defines\r
 ///\r
-#define EFI_UNICODE_BYTE_ORDER_MARK (CHAR16) (0xfeff)\r
+#define EFI_UNICODE_BYTE_ORDER_MARK  (CHAR16) (0xfeff)\r
 \r
 //\r
 // Protocol member functions\r
 //\r
+\r
 /**\r
   Performs a case-insensitive comparison of two Null-terminated strings.\r
 \r
@@ -167,26 +161,26 @@ BOOLEAN
 /// comparisons of strings.\r
 ///\r
 struct _EFI_UNICODE_COLLATION_PROTOCOL {\r
-  EFI_UNICODE_COLLATION_STRICOLL    StriColl;\r
-  EFI_UNICODE_COLLATION_METAIMATCH  MetaiMatch;\r
-  EFI_UNICODE_COLLATION_STRLWR      StrLwr;\r
-  EFI_UNICODE_COLLATION_STRUPR      StrUpr;\r
+  EFI_UNICODE_COLLATION_STRICOLL      StriColl;\r
+  EFI_UNICODE_COLLATION_METAIMATCH    MetaiMatch;\r
+  EFI_UNICODE_COLLATION_STRLWR        StrLwr;\r
+  EFI_UNICODE_COLLATION_STRUPR        StrUpr;\r
 \r
   //\r
   // for supporting fat volumes\r
   //\r
-  EFI_UNICODE_COLLATION_FATTOSTR    FatToStr;\r
-  EFI_UNICODE_COLLATION_STRTOFAT    StrToFat;\r
+  EFI_UNICODE_COLLATION_FATTOSTR      FatToStr;\r
+  EFI_UNICODE_COLLATION_STRTOFAT      StrToFat;\r
 \r
   ///\r
   /// A Null-terminated ASCII string array that contains one or more language codes.\r
   /// When this field is used for UnicodeCollation2, it is specified in RFC 4646 format.\r
   /// When it is used for UnicodeCollation, it is specified in ISO 639-2 format.\r
   ///\r
-  CHAR8                             *SupportedLanguages;\r
+  CHAR8                               *SupportedLanguages;\r
 };\r
 \r
-extern EFI_GUID gEfiUnicodeCollationProtocolGuid;\r
-extern EFI_GUID gEfiUnicodeCollation2ProtocolGuid;\r
+extern EFI_GUID  gEfiUnicodeCollationProtocolGuid;\r
+extern EFI_GUID  gEfiUnicodeCollation2ProtocolGuid;\r
 \r
 #endif\r