NeoMutt  2020-08-07-1-gab41a1
Teaching an old dog new tricks
DOXYGEN
monitor.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_MONITOR_H
24 #define MUTT_MONITOR_H
25 
26 #include <stdbool.h>
27 
28 struct Mailbox;
29 
30 extern bool MonitorFilesChanged;
31 extern bool MonitorContextChanged;
32 
33 int mutt_monitor_add(struct Mailbox *m);
34 int mutt_monitor_remove(struct Mailbox *m);
35 int mutt_monitor_poll(void);
36 
37 #endif /* MUTT_MONITOR_H */
int mutt_monitor_poll(void)
Check for filesystem changes.
Definition: monitor.c:397
bool MonitorContextChanged
true after the current mailbox has changed
Definition: monitor.c:51
int mutt_monitor_add(struct Mailbox *m)
Add a watch for a mailbox.
Definition: monitor.c:479
int mutt_monitor_remove(struct Mailbox *m)
Remove a watch for a mailbox.
Definition: monitor.c:524
bool MonitorFilesChanged
true after a monitored file has changed
Definition: monitor.c:50
A mailbox.
Definition: mailbox.h:81