blob: 84818e540f071a989e97ee4f3ba074e23119b016 [file] [log] [blame]
#pragma once
#include <map>
#include "dump_utils.hpp"
#include "watch.hpp"
namespace phosphor
{
namespace dump
{
namespace core
{
namespace manager
{
using UserMap = phosphor::dump::inotify::UserMap;
/** @brief Implementation of core watch call back
* @param [in] fileInfo - map of file info path:event
*/
void watchCallback(const UserMap& fileInfo);
/** @brief Helper function for initiating dump request using
* D-bus internal create interface.
* @param [in] files - Core files list
*/
void createHelper(const std::vector<std::string>& files);
} // namespace manager
} // namepsace core
} // namespace dump
} // namespace phosphor