]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Include/Library/BcfgCommandLib.h
ShellPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / ShellPkg / Include / Library / BcfgCommandLib.h
CommitLineData
7b01f0f3
JC
1/** @file\r
2 Header file for BCFG command library.\r
3\r
4 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
56ba3746 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
7b01f0f3
JC
6\r
7**/\r
8\r
9#ifndef _BCFG_COMMAND_LIB_H_\r
10#define _BCFG_COMMAND_LIB_H_\r
11\r
12/**\r
13 "Constructor" for the library.\r
14\r
15 This will register the handler for the bcfg command.\r
16\r
17 @param[in] ImageHandle the image handle of the process\r
18 @param[in] SystemTable the EFI System Table pointer\r
19 @param[in] Name the profile name to use\r
20\r
21 @retval EFI_SUCCESS the shell command handlers were installed sucessfully\r
22 @retval EFI_UNSUPPORTED the shell level required was not found.\r
23**/\r
24EFI_STATUS\r
25EFIAPI\r
26BcfgLibraryRegisterBcfgCommand (\r
27 IN EFI_HANDLE ImageHandle,\r
28 IN EFI_SYSTEM_TABLE *SystemTable,\r
29 IN CONST CHAR16 *Name\r
30 );\r
31\r
32/**\r
33 "Destructor" for the library. free any resources.\r
34\r
35 @param ImageHandle The image handle of the process.\r
36 @param SystemTable The EFI System Table pointer.\r
37**/\r
38EFI_STATUS\r
39EFIAPI\r
40BcfgLibraryUnregisterBcfgCommand (\r
41 IN EFI_HANDLE ImageHandle,\r
42 IN EFI_SYSTEM_TABLE *SystemTable\r
43 );\r
44\r
45#endif\r
46\r