TianoCore EDK2 master
|
#include "UefiShellLevel2CommandsLib.h"
Go to the source code of this file.
Functions | |
BOOLEAN | IsStdInDataAvailable (VOID) |
EFI_STRING | HandleStringWithEscapeCharForParse (IN CHAR16 *String) |
SHELL_STATUS | PerformParsing (IN CONST CHAR16 *FileName, IN CONST CHAR16 *TableName, IN CONST UINTN ColumnIndex, IN CONST UINTN TableNameInstance, IN CONST UINTN ShellCommandInstance, IN BOOLEAN StreamingUnicode) |
SHELL_STATUS EFIAPI | ShellCommandRunParse (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC CONST SHELL_PARAM_ITEM | ParamList [] |
Main file for Parse shell level 2 function.
(C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Parse.c.
EFI_STRING HandleStringWithEscapeCharForParse | ( | IN CHAR16 * | String | ) |
Handle stings for SFO Output with escape character ^ in a string
[in] | String | The Unicode NULL-terminated string. |
NewString | The new string handled for SFO. |
BOOLEAN IsStdInDataAvailable | ( | VOID | ) |
SHELL_STATUS PerformParsing | ( | IN CONST CHAR16 * | FileName, |
IN CONST CHAR16 * | TableName, | ||
IN CONST UINTN | ColumnIndex, | ||
IN CONST UINTN | TableNameInstance, | ||
IN CONST UINTN | ShellCommandInstance, | ||
IN BOOLEAN | StreamingUnicode | ||
) |
Do the actual parsing of the file. the file should be SFO output from a shell command or a similar format.
[in] | FileName | The filename to open. |
[in] | TableName | The name of the table to find. |
[in] | ColumnIndex | The column number to get. |
[in] | TableNameInstance | Which instance of the table to get (row). |
[in] | ShellCommandInstance | Which instance of the command to get. |
[in] | StreamingUnicode | Indicates Input file is StdIn Unicode streaming data or not |
SHELL_NOT_FOUND | The requested instance was not found. |
SHELL_SUCCESS | The operation was successful. |
SHELL_STATUS EFIAPI ShellCommandRunParse | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
STATIC CONST SHELL_PARAM_ITEM ParamList[] |