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

Go to the source code of this file.

Functions

CONST CHAR16 *EFIAPI ShellCommandGetManFileNameNetwork1 (VOID)
 
EFI_STATUS EFIAPI ShellNetwork1CommandsLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS EFIAPI ShellNetwork1CommandsLibDestructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

CONST CHAR16 gShellNetwork1FileName [] = L"ShellCommands"
 
EFI_HII_HANDLE gShellNetwork1HiiHandle = NULL
 

Detailed Description

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

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

Definition in file UefiShellNetwork1CommandsLib.c.

Function Documentation

◆ ShellCommandGetManFileNameNetwork1()

CONST CHAR16 *EFIAPI ShellCommandGetManFileNameNetwork1 ( 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 UefiShellNetwork1CommandsLib.c.

◆ ShellNetwork1CommandsLibConstructor()

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

Constructor for the Shell Network1 Commands library.

Install the handlers for Network1 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 UefiShellNetwork1CommandsLib.c.

◆ ShellNetwork1CommandsLibDestructor()

EFI_STATUS EFIAPI ShellNetwork1CommandsLibDestructor ( 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 UefiShellNetwork1CommandsLib.c.

Variable Documentation

◆ gShellNetwork1FileName

CONST CHAR16 gShellNetwork1FileName[] = L"ShellCommands"

Definition at line 10 of file UefiShellNetwork1CommandsLib.c.

◆ gShellNetwork1HiiHandle

EFI_HII_HANDLE gShellNetwork1HiiHandle = NULL

Definition at line 11 of file UefiShellNetwork1CommandsLib.c.