xref: /openbmc/phosphor-debug-collector/dump-extensions.hpp (revision 8b9b4690a4460ada5bf60a285ff6065eda6d5d4a)
1*8b9b4690SDhruvaraj Subhashchandran #include "dump_manager.hpp"
2*8b9b4690SDhruvaraj Subhashchandran 
3*8b9b4690SDhruvaraj Subhashchandran #include <memory>
4*8b9b4690SDhruvaraj Subhashchandran #include <vector>
5*8b9b4690SDhruvaraj Subhashchandran 
6*8b9b4690SDhruvaraj Subhashchandran namespace phosphor
7*8b9b4690SDhruvaraj Subhashchandran {
8*8b9b4690SDhruvaraj Subhashchandran namespace dump
9*8b9b4690SDhruvaraj Subhashchandran {
10*8b9b4690SDhruvaraj Subhashchandran 
11*8b9b4690SDhruvaraj Subhashchandran using DumpManagerList = std::vector<std::unique_ptr<phosphor::dump::Manager>>;
12*8b9b4690SDhruvaraj Subhashchandran /**
13*8b9b4690SDhruvaraj Subhashchandran  * @brief load the dump extensions
14*8b9b4690SDhruvaraj Subhashchandran  *
15*8b9b4690SDhruvaraj Subhashchandran  * @param[in] bus - Bus to attach to
16*8b9b4690SDhruvaraj Subhashchandran  * @param[out] dumpMgrList - list dump manager objects.
17*8b9b4690SDhruvaraj Subhashchandran  *
18*8b9b4690SDhruvaraj Subhashchandran  */
19*8b9b4690SDhruvaraj Subhashchandran void loadExtensions(sdbusplus::bus::bus& bus, DumpManagerList& dumpMgrList);
20*8b9b4690SDhruvaraj Subhashchandran } // namespace dump
21*8b9b4690SDhruvaraj Subhashchandran } // namespace phosphor
22