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

Go to the source code of this file.

Functions

EFI_STATUS DisconnectAll (VOID)
 
SHELL_STATUS EFIAPI ShellCommandRunDisconnect (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

STATIC CONST SHELL_PARAM_ITEM ParamList []
 

Detailed Description

Main file for Disconnect shell Driver1 function.

(C) Copyright 2016 Hewlett Packard Enterprise Development LP
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Disconnect.c.

Function Documentation

◆ DisconnectAll()

EFI_STATUS DisconnectAll ( VOID  )

Disconnect everything.

Return values
EFI_SUCCESSThe operation was successful.

Definition at line 25 of file Disconnect.c.

◆ ShellCommandRunDisconnect()

SHELL_STATUS EFIAPI ShellCommandRunDisconnect ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Function for 'disconnect' command.

Parameters
[in]ImageHandleHandle to the Image (NULL if Internal).
[in]SystemTablePointer to the System Table (NULL if Internal).

Definition at line 82 of file Disconnect.c.

Variable Documentation

◆ ParamList

Initial value:
= {
{ L"-r", TypeFlag },
{ L"-nc", TypeFlag },
{ NULL, TypeMax }
}
#define NULL
Definition: Base.h:319
@ TypeFlag
A flag that is present or not present only (IE "-a").
Definition: ShellLib.h:699

Definition at line 13 of file Disconnect.c.