Public Member Functions | |
virtual void | process_event (int fd) |
virtual void | process_event (const struct inotify_event &event) |
watcher_base (struct inotify_state *state) | |
watcher_base (struct dnotify_state *state) | |
Public Attributes | |
const int | inotify_fd |
Private Member Functions | |
void | refresh_maildirs () |
int | start_watch (const char *dir) |
void | stop_watch (int fd) |
Private Attributes | |
int | fd |
std::set< std::string > | maildirs |
struct inotify_state * | state |
struct dnotify_state * | state |
int | wd |
Static Private Attributes | |
static const long | notify = DN_CREATE | DN_RENAME | DN_DELETE | DN_MULTISHOT |
static const uint32_t | notify = IN_CREATE | IN_MOVE | IN_DELETE_SELF |
Definition at line 15 of file watcher_base.h.