~ubuntu-branches/ubuntu/oneiric/dbus/oneiric-security

« back to all changes in this revision

Viewing changes to bus/dir-watch.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2010-02-03 22:49:42 UTC
  • mto: (1.4.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20100203224942-5lxy2sbes22vxzru
Tags: upstream-1.2.20
ImportĀ upstreamĀ versionĀ 1.2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifndef DIR_WATCH_H
27
27
#define DIR_WATCH_H
28
28
 
29
 
/* setup a watch on a directory (OS dependent, may be a NOP) */
30
 
void bus_watch_directory (const char *directory, BusContext *context);
31
 
 
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);
 
29
/**
 
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.
 
34
 *
 
35
 * @param context The bus context
 
36
 * @param dirs List of strings which are directory paths
 
37
 */
 
38
void bus_set_watched_dirs (BusContext *context, DBusList **dirs);
34
39
 
35
40
#endif /* DIR_WATCH_H */