TianoCore EDK2 master
Loading...
Searching...
No Matches
UefiShellNetwork2CommandsLib.c File Reference

Go to the source code of this file.

Functions

CONST CHAR16 *EFIAPI ShellCommandGetManFileNameNetwork2 (VOID)
 
EFI_STATUS EFIAPI ShellNetwork2CommandsLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS EFIAPI ShellNetwork2CommandsLibDestructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

CONST CHAR16 gShellNetwork2FileName [] = L"ShellCommands"
 
EFI_HII_HANDLE gShellNetwork2HiiHandle = NULL
 

Detailed Description

Main file for NULL named library for network2 shell command functions.

Copyright (c) 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file UefiShellNetwork2CommandsLib.c.

Function Documentation

◆ ShellCommandGetManFileNameNetwork2()

CONST CHAR16 *EFIAPI ShellCommandGetManFileNameNetwork2 ( VOID  )

return the file name of the help text file if not using HII.

Returns
The string pointer to the file name.

Definition at line 20 of file UefiShellNetwork2CommandsLib.c.

◆ ShellNetwork2CommandsLibConstructor()

EFI_STATUS EFIAPI ShellNetwork2CommandsLibConstructor ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Constructor for the Shell Network2 Commands library.

Install the handlers for Network2 UEFI Shell 2.0 profile commands.

Parameters
ImageHandleThe image handle of the process.
SystemTableThe EFI System Table pointer.
Return values
EFI_SUCCESSThe shell command handlers were installed successfully.
EFI_UNSUPPORTEDThe shell level required was not found.

Definition at line 40 of file UefiShellNetwork2CommandsLib.c.

◆ ShellNetwork2CommandsLibDestructor()

EFI_STATUS EFIAPI ShellNetwork2CommandsLibDestructor ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Destructor for the library. free any resources.

Parameters
ImageHandleThe image handle of the process.
SystemTableThe EFI System Table pointer.

Definition at line 76 of file UefiShellNetwork2CommandsLib.c.

Variable Documentation

◆ gShellNetwork2FileName

CONST CHAR16 gShellNetwork2FileName[] = L"ShellCommands"

Definition at line 10 of file UefiShellNetwork2CommandsLib.c.

◆ gShellNetwork2HiiHandle

EFI_HII_HANDLE gShellNetwork2HiiHandle = NULL

Definition at line 11 of file UefiShellNetwork2CommandsLib.c.