From 4bbdc0e1bd5807c00a33e30dfc208e0e86b4c236 Mon Sep 17 00:00:00 2001 From: jcarsey Date: Fri, 25 Mar 2011 21:03:58 +0000 Subject: FileHandleLib - use standard unicode file tag. ShellCEntryLib - add #define protection. ShellCommandLib - add optional sorting of command list. ShellLib - add string-to-number with EFI_STATUS return value for verification. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11429 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Include/Library/ShellCommandLib.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ShellPkg/Include/Library/ShellCommandLib.h') diff --git a/ShellPkg/Include/Library/ShellCommandLib.h b/ShellPkg/Include/Library/ShellCommandLib.h index af16c85ef3..6edd36676b 100644 --- a/ShellPkg/Include/Library/ShellCommandLib.h +++ b/ShellPkg/Include/Library/ShellCommandLib.h @@ -4,7 +4,7 @@ This library is for use ONLY by shell commands linked into the shell application. This library will not funciton if it is used for UEFI Shell 2.0 Applications. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -211,12 +211,14 @@ typedef struct { via the LIST_ENTRY structure. Enumerate through it using the BaseLib linked list functions. Do not modify the values. + @param[in] Sort TRUE to alphabetically sort the values first. FALSE otherwise. + @return A linked list of all available shell commands. **/ CONST COMMAND_LIST* EFIAPI ShellCommandGetCommandList ( - VOID + IN CONST BOOLEAN Sort ); typedef struct { @@ -501,7 +503,7 @@ ShellCommandConsistMappingUnInitialize ( This must be called after ShellCommandConsistMappingInitialize() and before ShellCommandConsistMappingUnInitialize() is called. - @param[in] DeviecPath The pointer to the dev path for the device. + @param[in] DevicePath The pointer to the dev path for the device. @param[in] Table The Table of mapping information. @retval NULL A consistent mapped name could not be created. -- cgit v1.2.3