sync_manager: Create sync watch class

Create a watch class to monitor the files and directories
specified in the synclist file.
Store the file descriptors and file names in a map to be
able to know the full path of the file that triggered the
event. The watch descriptor number does not change so it
can be a single variable.

Change-Id: I211225ddc012af85d9be39ae5d40b8258d73435d
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
7 files changed
tree: 86d93a28745daacd5518c1888e82f9879cfcdf96
  1. org/
  2. test/
  3. xyz/
  4. .clang-format
  5. .gitignore
  6. activation.cpp
  7. activation.hpp
  8. bootstrap.sh
  9. configure.ac
  10. download_manager.cpp
  11. download_manager.hpp
  12. download_manager_main.cpp
  13. elog-errors.hpp
  14. image_manager.cpp
  15. image_manager.hpp
  16. image_manager_main.cpp
  17. image_verify.cpp
  18. image_verify.hpp
  19. item_updater.cpp
  20. item_updater.hpp
  21. item_updater_main.cpp
  22. LICENSE
  23. Makefile.am
  24. README.md
  25. serialize.cpp
  26. serialize.hpp
  27. sync_manager.cpp
  28. sync_manager.hpp
  29. sync_manager_main.cpp
  30. sync_watch.cpp
  31. sync_watch.hpp
  32. version.cpp
  33. version.hpp
  34. watch.cpp
  35. watch.hpp
README.md

phosphor-bmc-code-mgmt

Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.