BcfgCommandLib.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /** @file
  2. Header file for BCFG command library.
  3. Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef _BCFG_COMMAND_LIB_H_
  7. #define _BCFG_COMMAND_LIB_H_
  8. /**
  9. "Constructor" for the library.
  10. This will register the handler for the bcfg command.
  11. @param[in] ImageHandle the image handle of the process
  12. @param[in] SystemTable the EFI System Table pointer
  13. @param[in] Name the profile name to use
  14. @retval EFI_SUCCESS the shell command handlers were installed sucessfully
  15. @retval EFI_UNSUPPORTED the shell level required was not found.
  16. **/
  17. EFI_STATUS
  18. EFIAPI
  19. BcfgLibraryRegisterBcfgCommand (
  20. IN EFI_HANDLE ImageHandle,
  21. IN EFI_SYSTEM_TABLE *SystemTable,
  22. IN CONST CHAR16 *Name
  23. );
  24. /**
  25. "Destructor" for the library. free any resources.
  26. @param ImageHandle The image handle of the process.
  27. @param SystemTable The EFI System Table pointer.
  28. **/
  29. EFI_STATUS
  30. EFIAPI
  31. BcfgLibraryUnregisterBcfgCommand (
  32. IN EFI_HANDLE ImageHandle,
  33. IN EFI_SYSTEM_TABLE *SystemTable
  34. );
  35. #endif