path_watch_t Struct Reference

When a watch is established on a filesystem directory this struct is used to track it. More...

#include <inotify_watch.h>

List of all members.

Public Attributes

char path [PATH_MAX]
 the pathname the watch was established on
int watch_id
 the id (e.g.
hash_table_t * descendant_path_table
 the set of non-existant descendants of this directory whose creation we have watch for


Detailed Description

When a watch is established on a filesystem directory this struct is used to track it.

See How files are watched.

Definition at line 53 of file inotify_watch.h.


Member Data Documentation

the id (e.g.

handle) assigned by the watch subsystem to this watch. When the subsystem sends us a notification it will contain this id and we'll have to look up this stuct via that id.

Definition at line 55 of file inotify_watch.h.

Referenced by destroy_path_watch(), destroy_path_watch_if_empty(), inotify_start_monitoring(), inotify_watch_fini(), new_path_watch(), path_watch_string(), track_path_watch(), and untrack_path_watch().


The documentation for this struct was generated from the following file:

Generated on Mon Aug 31 10:06:21 2009 by  doxygen 1.5.8