]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Include/Library/BcfgCommandLib.h
ShellPkg: Add a new library for "bcfg" command
[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
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _BCFG_COMMAND_LIB_H_\r
16#define _BCFG_COMMAND_LIB_H_\r
17\r
18/**\r
19 "Constructor" for the library.\r
20\r
21 This will register the handler for the bcfg command.\r
22\r
23 @param[in] ImageHandle the image handle of the process\r
24 @param[in] SystemTable the EFI System Table pointer\r
25 @param[in] Name the profile name to use\r
26\r
27 @retval EFI_SUCCESS the shell command handlers were installed sucessfully\r
28 @retval EFI_UNSUPPORTED the shell level required was not found.\r
29**/\r
30EFI_STATUS\r
31EFIAPI\r
32BcfgLibraryRegisterBcfgCommand (\r
33 IN EFI_HANDLE ImageHandle,\r
34 IN EFI_SYSTEM_TABLE *SystemTable,\r
35 IN CONST CHAR16 *Name\r
36 );\r
37\r
38/**\r
39 "Destructor" for the library. free any resources.\r
40\r
41 @param ImageHandle The image handle of the process.\r
42 @param SystemTable The EFI System Table pointer.\r
43**/\r
44EFI_STATUS\r
45EFIAPI\r
46BcfgLibraryUnregisterBcfgCommand (\r
47 IN EFI_HANDLE ImageHandle,\r
48 IN EFI_SYSTEM_TABLE *SystemTable\r
49 );\r
50\r
51#endif\r
52\r