blob: 84818e540f071a989e97ee4f3ba074e23119b016 [file] [log] [blame]
Jayanth Othayothd02153c2017-07-02 22:29:42 -05001#pragma once
2
3#include <map>
4
5#include "dump_utils.hpp"
6#include "watch.hpp"
7
8namespace phosphor
9{
10namespace dump
11{
12namespace core
13{
14namespace manager
15{
16
17using 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 */
22void watchCallback(const UserMap& fileInfo);
23
Jayanth Othayothd3273ea2017-07-12 22:55:32 -050024/** @brief Helper function for initiating dump request using
25 * D-bus internal create interface.
26 * @param [in] files - Core files list
27 */
28void createHelper(const std::vector<std::string>& files);
29
Jayanth Othayothd02153c2017-07-02 22:29:42 -050030} // namespace manager
31} // namepsace core
32} // namespace dump
33} // namespace phosphor