* functions are non-interactive only\r
\r
\r
- Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
- 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
-\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
+ Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
#define _UEFI_SHELL_LEVEL2_COMMANDS_LIB_H_\r
\r
#include <Uefi.h>\r
-#include <ShellBase.h>\r
\r
+#include <Guid/GlobalVariable.h>\r
#include <Guid/ShellLibHiiGuid.h>\r
\r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
#include <Protocol/DevicePath.h>\r
#include <Protocol/LoadedImage.h>\r
#include <Protocol/UnicodeCollation.h>\r
);\r
\r
/**\r
- CaseInsensitive length limited string comparison.\r
+ String comparison without regard to case for a limited number of characters.\r
+\r
+ @param[in] Source The first item to compare.\r
+ @param[in] Target The second item to compare.\r
+ @param[in] Count How many characters to compare.\r
\r
- @param[in] Source Pointer to first string.\r
- @param[in] Target Pointer to second string.\r
- @param[in] Count Number of characters to compare.\r
+ @retval 0 Source and Target are identical strings without regard to case.\r
+ @retval !=0 Source is not identical to Target.\r
\r
- @retval 0 The strings are the same.\r
- @return non-zero if the strings are different.\r
**/\r
-CONST CHAR16*\r
+INTN\r
StrniCmp(\r
IN CONST CHAR16 *Source,\r
IN CONST CHAR16 *Target,\r
Cleans off all the quotes in the string.\r
\r
@param[in] OriginalString pointer to the string to be cleaned.\r
- @param[out] CleanString The new string with all quotes removed. \r
- Memory allocated in the function and free \r
+ @param[out] CleanString The new string with all quotes removed.\r
+ Memory allocated in the function and free\r
by caller.\r
\r
@retval EFI_SUCCESS The operation was successful.\r