xref: /openbmc/phosphor-debug-collector/dump-extensions.hpp (revision 9b18bf2d3ee4d15f2af3f8cc407e8dc74b2dec6b)
18b9b4690SDhruvaraj Subhashchandran #include "dump_manager.hpp"
28b9b4690SDhruvaraj Subhashchandran 
38b9b4690SDhruvaraj Subhashchandran #include <memory>
48b9b4690SDhruvaraj Subhashchandran #include <vector>
58b9b4690SDhruvaraj Subhashchandran 
68b9b4690SDhruvaraj Subhashchandran namespace phosphor
78b9b4690SDhruvaraj Subhashchandran {
88b9b4690SDhruvaraj Subhashchandran namespace dump
98b9b4690SDhruvaraj Subhashchandran {
108b9b4690SDhruvaraj Subhashchandran 
118b9b4690SDhruvaraj Subhashchandran using DumpManagerList = std::vector<std::unique_ptr<phosphor::dump::Manager>>;
128b9b4690SDhruvaraj Subhashchandran /**
138b9b4690SDhruvaraj Subhashchandran  * @brief load the dump extensions
148b9b4690SDhruvaraj Subhashchandran  *
158b9b4690SDhruvaraj Subhashchandran  * @param[in] bus - Bus to attach to
168b9b4690SDhruvaraj Subhashchandran  * @param[out] dumpMgrList - list dump manager objects.
178b9b4690SDhruvaraj Subhashchandran  *
188b9b4690SDhruvaraj Subhashchandran  */
19*9b18bf2dSPatrick Williams void loadExtensions(sdbusplus::bus_t& bus, DumpManagerList& dumpMgrList);
208b9b4690SDhruvaraj Subhashchandran } // namespace dump
218b9b4690SDhruvaraj Subhashchandran } // namespace phosphor
22