Add inotify watch support
Added code to register for inotify events on the needed
path and the user callback on events
Change-Id: I90529f8e96fcbecfe0a1b943c3c435dab79222c3
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index e2f2fcf..3b91845 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,7 +23,8 @@
vlan_interface.hpp \
rtnetlink_server.hpp \
timer.hpp \
- dns_updater.hpp
+ dns_updater.hpp \
+ watch.hpp
phosphor_network_manager_SOURCES = \
ethernet_interface.cpp \
@@ -41,7 +42,8 @@
vlan_interface.cpp \
rtnetlink_server.cpp \
timer.cpp \
- dns_updater.cpp
+ dns_updater.cpp \
+ watch.cpp
CLEANFILES = \
xyz/openbmc_project/Network/VLAN/Create/server.cpp \