X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellLib%2FUefiShellLib.h;h=c70e6cb91ecac35552ecd3e4510bc3583177046a;hb=0960ba17e596812f211ba334cc6699d45bada328;hp=32f1c6596d1d74307b8d7cb88f4148c6ddb4be86;hpb=3a3395f06b95ad5a0a78e23d293929e6809e09e5;p=mirror_edk2.git diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.h b/ShellPkg/Library/UefiShellLib/UefiShellLib.h index 32f1c6596d..c70e6cb91e 100644 --- a/ShellPkg/Library/UefiShellLib/UefiShellLib.h +++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.h @@ -72,5 +72,23 @@ InternalShellIsHexOrDecimalNumber ( IN CONST BOOLEAN StopAtSpace ); +/** + Cleans off all the quotes in the string. + + @param[in] OriginalString pointer to the string to be cleaned. + @param[out] CleanString The new string with all quotes removed. + Memory allocated in the function and free + by caller. + + @retval EFI_SUCCESS The operation was successful. +**/ +EFI_STATUS +EFIAPI +InternalShellStripQuotes ( + IN CONST CHAR16 *OriginalString, + OUT CHAR16 **CleanString + ); + + #endif