Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 1 | #include "dump_manager.hpp" |
Dhruvaraj Subhashchandran | 4a95984 | 2021-09-30 02:55:52 -0500 | [diff] [blame] | 2 | #include "dump_utils.hpp" |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 3 | |
| 4 | #include <memory> |
| 5 | #include <vector> |
| 6 | |
| 7 | namespace phosphor |
| 8 | { |
| 9 | namespace dump |
| 10 | { |
| 11 | |
| 12 | using DumpManagerList = std::vector<std::unique_ptr<phosphor::dump::Manager>>; |
| 13 | /** |
| 14 | * @brief load the dump extensions |
| 15 | * |
| 16 | * @param[in] bus - Bus to attach to |
| 17 | * @param[out] dumpMgrList - list dump manager objects. |
| 18 | * |
| 19 | */ |
Dhruvaraj Subhashchandran | 4a95984 | 2021-09-30 02:55:52 -0500 | [diff] [blame] | 20 | void loadExtensions(sdbusplus::bus::bus& bus, const EventPtr& event, |
| 21 | DumpManagerList& dumpMgrList); |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 22 | } // namespace dump |
| 23 | } // namespace phosphor |