]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/Include/Library/LanguageLib.h
Grammatical and disclaimer changes (does not follow internal C coding stds.)
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / Include / Library / LanguageLib.h
index 406704a25484dfce83d9bb3f5d8a58aa94b35461..a25fbae8c414927c959193f1a69da0262edf38d1 100644 (file)
@@ -1,11 +1,12 @@
 /** @file\r
   Provides functions for language conversion between ISO 639-2 and RFC 4646 styles.\r
 \r
 /** @file\r
   Provides functions for language conversion between ISO 639-2 and RFC 4646 styles.\r
 \r
-Copyright (c) 2009 - 2010, Intel Corporation<BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation.  All rights reserved<BR>\r
+Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\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
 \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
@@ -28,7 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
                                representing an RFC 4646 language code containing only\r
                                either a ISO 639-1 or ISO 639-2 primary language subtag.\r
                                This string is Null-terminated.\r
                                representing an RFC 4646 language code containing only\r
                                either a ISO 639-1 or ISO 639-2 primary language subtag.\r
                                This string is Null-terminated.\r
-  @param[in]  Iso639Language   Pointer to a 3-letter ASCII string that represents\r
+  @param[in]  Iso639Language   The pointer to a 3-letter ASCII string that represents\r
                                an ISO 639-2 language code. This string is not required\r
                                to be Null-terminated.\r
 \r
                                an ISO 639-2 language code. This string is not required\r
                                to be Null-terminated.\r
 \r
@@ -53,8 +54,10 @@ ConvertIso639ToRfc4646 (
   If Iso639Language is NULL, then ASSERT().\r
 \r
   @param[out] Iso639Language   Pointers to a buffer large enough for a 3-letter ASCII string\r
   If Iso639Language is NULL, then ASSERT().\r
 \r
   @param[out] Iso639Language   Pointers to a buffer large enough for a 3-letter ASCII string\r
-                               representing an ISO 639-2 language code. The string is Null-terminated.\r
-  @param[in]  Rfc4646Language  Pointer to a RFC 4646 language code string. This string is terminated\r
+                               representing an ISO 639-2 language code. The string \r
+                               is Null-terminated.\r
+  @param[in]  Rfc4646Language  The pointer to a RFC 4646 language code string. \r
+                               This string is terminated\r
                                by a NULL or a ';' character.\r
 \r
   @retval TRUE                 Language code converted successfully.\r
                                by a NULL or a ';' character.\r
 \r
   @retval TRUE                 Language code converted successfully.\r
@@ -79,8 +82,10 @@ ConvertRfc4646ToIso639 (
   \r
   @retval NULL                Invalid ISO 639-2 language code found.\r
   @retval NULL                Out of memory.\r
   \r
   @retval NULL                Invalid ISO 639-2 language code found.\r
   @retval NULL                Out of memory.\r
-  @return                     Pointer to the allocate buffer containing the Null-terminated converted language codes string.\r
-                              This string is composed of one or more RFC4646 language codes each of which has only\r
+  @return                     The pointer to the allocate buffer containing the \r
+                              Null-terminated converted language codes string.\r
+                              This string is composed of one or more RFC4646 \r
+                              language codes each of which has only\r
                               ISO 639-1 2-letter primary language subtag.\r
 \r
 **/\r
                               ISO 639-1 2-letter primary language subtag.\r
 \r
 **/\r
@@ -97,13 +102,15 @@ ConvertLanguagesIso639ToRfc4646 (
 \r
   If Rfc4646Languages is NULL, then ASSERT.\r
 \r
 \r
   If Rfc4646Languages is NULL, then ASSERT.\r
 \r
-  @param[in] Rfc4646Languages  Pointers to a Null-terminated RFC 4646 language codes string containing\r
-                               one or more RFC 4646 language codes.\r
+  @param[in] Rfc4646Languages  Pointers to a Null-terminated RFC 4646 language codes \r
+                               string containing one or more RFC 4646 language codes.\r
   \r
   @retval NULL                 Invalid or unsupported RFC 4646 language code found.\r
   @retval NULL                 Out of memory.\r
   \r
   @retval NULL                 Invalid or unsupported RFC 4646 language code found.\r
   @retval NULL                 Out of memory.\r
-  @return                      Pointer to the allocate buffer containing the Null-terminated converted language codes string.\r
-                               This string is composed of one or more ISO 639-2 language codes.\r
+  @return                      The pointer to the allocate buffer containing the \r
+                               Null-terminated converted language codes string.\r
+                               This string is composed of one or more ISO 639-2 \r
+                               language codes.\r
 \r
 **/\r
 CHAR8 *\r
 \r
 **/\r
 CHAR8 *\r