Jayanth Othayoth | d02153c | 2017-07-02 22:29:42 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <map> |
| 4 | |
| 5 | #include "dump_utils.hpp" |
| 6 | #include "watch.hpp" |
| 7 | |
| 8 | namespace phosphor |
| 9 | { |
| 10 | namespace dump |
| 11 | { |
| 12 | namespace core |
| 13 | { |
| 14 | namespace manager |
| 15 | { |
| 16 | |
| 17 | using UserMap = phosphor::dump::inotify::UserMap; |
| 18 | |
| 19 | /** @brief Implementation of core watch call back |
| 20 | * @param [in] fileInfo - map of file info path:event |
| 21 | */ |
| 22 | void watchCallback(const UserMap& fileInfo); |
| 23 | |
Jayanth Othayoth | d3273ea | 2017-07-12 22:55:32 -0500 | [diff] [blame] | 24 | /** @brief Helper function for initiating dump request using |
| 25 | * D-bus internal create interface. |
| 26 | * @param [in] files - Core files list |
| 27 | */ |
| 28 | void createHelper(const std::vector<std::string>& files); |
| 29 | |
Jayanth Othayoth | d02153c | 2017-07-02 22:29:42 -0500 | [diff] [blame] | 30 | } // namespace manager |
| 31 | } // namepsace core |
| 32 | } // namespace dump |
| 33 | } // namespace phosphor |