| 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 |  | 
|  | 24 | } // namespace manager | 
|  | 25 | } // namepsace core | 
|  | 26 | } // namespace dump | 
|  | 27 | } // namespace phosphor |