1 #pragma once
2 
3 #include "data_interface.hpp"
4 
5 #include <nlohmann/json.hpp>
6 #include <xyz/openbmc_project/HardwareIsolation/Entry/server.hpp>
7 
8 namespace openpower
9 {
10 namespace pels
11 {
12 namespace phal
13 {
14 
15 /**
16  * @brief Helper function to create service actions in the PEL
17  *
18  * @param[in] jsonCallouts - The array of JSON callouts, or an empty object.
19  * @param[in] dataIface - The DataInterface object
20  * @param[in] plid -  the PLID
21  */
22 void createServiceActions(const nlohmann::json& jsonCallouts,
23                           const DataInterfaceBase& dataIface, uint32_t plid);
24 } // namespace phal
25 } // namespace pels
26 } // namespace openpower
27