Update core file monitor infrastructre using common inotify

Resolves openbmc/openbmc#1510

Change-Id: I5f73c4330df8a5deab29e29201e8521740e6b047
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/core_manager.hpp b/core_manager.hpp
new file mode 100644
index 0000000..19658a5
--- /dev/null
+++ b/core_manager.hpp
@@ -0,0 +1,27 @@
+#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);
+
+} // namespace manager
+} // namepsace core
+} // namespace dump
+} // namespace phosphor