Logo Search packages:      
Sourcecode: mswatch version File versions  Download package

Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

watcher_maildir Class Reference

Inheritance diagram for watcher_maildir:
Inheritance graph
Collaboration diagram for watcher_maildir:
Collaboration graph

List of all members.

Public Member Functions

virtual void process_event (int fd)
virtual void process_event (const struct inotify_event &event)
 watcher_maildir (struct inotify_state *state, const std::string &maildir)
 watcher_maildir (struct dnotify_state *state, const std::string &maildir)

Private Member Functions

int start_watch (const char *dir, long notify)
int start_watch (const char *dir, uint32_t notify)
void stop_watch (int wd)
void stop_watch (int fd)

Private Attributes

int fd_cur
int fd_maildir
int fd_new
const std::string imap_name
const std::string maildir
struct inotify_statestate
struct dnotify_statestate
int wd_cur
int wd_maildir
int wd_new

Static Private Attributes

static const long cn_notify = DN_CREATE | DN_DELETE | DN_RENAME | DN_MULTISHOT
static const uint32_t cn_notify = IN_CREATE | IN_MOVE | IN_DELETE
static const uint32_t m_notify = IN_MOVED_FROM | IN_DELETE
static const long m_notify = DN_DELETE | DN_RENAME | DN_MULTISHOT

Detailed Description

Definition at line 13 of file watcher_maildir.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index