#include #include #include #include #include #include #include namespace sdbusplus { namespace bus { class bus; } // namespace bus using bus_t = bus::bus; } // namespace sdbusplus namespace sdeventplus { class Event; } // namespace sdeventplus namespace functions { namespace process_hostfirmware { using ErrorCallbackType = std::function; using LinkCallbackType = std::function; using MaybeCallCallbackType = std::function&)>; bool getExtensionsForIbmCompatibleSystem( const std::map>&, const std::vector&, std::vector&); void writeLink(const std::filesystem::path&, const std::filesystem::path&, const ErrorCallbackType&); void findLinks(const std::filesystem::path&, const std::vector&, const ErrorCallbackType&, const LinkCallbackType&); bool maybeCall( const std::map< std::string, std::map>>>&, const MaybeCallCallbackType&); std::shared_ptr processHostFirmware( sdbusplus::bus_t&, std::map>, std::filesystem::path, ErrorCallbackType, sdeventplus::Event&); std::vector> updateBiosAttrTable(sdbusplus::bus_t&, std::map>, std::filesystem::path, sdeventplus::Event&); } // namespace process_hostfirmware } // namespace functions