26
26
#ifndef DIR_WATCH_H
27
27
#define DIR_WATCH_H
29
/* setup a watch on a directory (OS dependent, may be a NOP) */
30
void bus_watch_directory (const char *directory, BusContext *context);
32
/* drop all the watches previously set up by bus_config_watch_directory (OS dependent, may be a NOP) */
33
void bus_drop_all_directory_watches (void);
30
* Update the set of directories to monitor for changes. The
31
* operating-system-specific implementation of this function should
32
* avoid creating a window where a directory in both the
33
* old and new set isn't monitored.
35
* @param context The bus context
36
* @param dirs List of strings which are directory paths
38
void bus_set_watched_dirs (BusContext *context, DBusList **dirs);
35
40
#endif /* DIR_WATCH_H */