xref: /openbmc/phosphor-ipmi-flash/tools/helper.hpp (revision ded66d0f7317f6e43a5301da6c3d9dda80b17250)
1 #pragma once
2 
3 #include <ipmiblob/blob_interface.hpp>
4 
5 #include <cstdint>
6 
7 namespace host_tool
8 {
9 
10 /**
11  * Poll an open verification session.
12  *
13  * @param[in] session - the open verification session
14  * @param[in] blob - pointer to blob interface implementation object.
15  * @return true if the verification was successul.
16  */
17 bool pollStatus(std::uint16_t session, ipmiblob::BlobInterface* blob);
18 
19 } // namespace host_tool
20