diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-11-02 17:26:12 +0100 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-11-23 13:45:10 +0100 |
commit | db2a311c9f4c77fec8f7baca6cd075ebf4806832 (patch) | |
tree | 6d909e45f9e29ee18d98ce4362e749affcf187d2 /src/connman.h | |
parent | b49360d9485fc5d003e167f18333ac2e59b8573b (diff) | |
download | connman-db2a311c9f4c77fec8f7baca6cd075ebf4806832.tar.gz connman-db2a311c9f4c77fec8f7baca6cd075ebf4806832.tar.bz2 connman-db2a311c9f4c77fec8f7baca6cd075ebf4806832.zip |
inotify: Move inotify code into its own file
The inotify code will be used by the core (config.c) and the session
policy plugin. We introduce a new API for file modifcation
notifcation.
We move the factored out code part from the last patch into a new file
and also change the inotify code so that it allows to monitor not only
STORAGEDIR. When registering a new observer, the callee has to tell
which directory should be watched. inotify.c will group the observers
together.
Diffstat (limited to 'src/connman.h')
-rw-r--r-- | src/connman.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h index 67c16361..70178d84 100644 --- a/src/connman.h +++ b/src/connman.h @@ -219,6 +219,11 @@ gboolean __connman_storage_remove_service(const char *service_id); int __connman_detect_init(void); void __connman_detect_cleanup(void); +#include <connman/inotify.h> + +int __connman_inotify_init(void); +void __connman_inotify_cleanup(void); + #include <connman/proxy.h> int __connman_proxy_init(void); |