NeoMutt  2022-04-29-247-gc6aae8
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
28struct Mailbox;
29
30extern bool MonitorFilesChanged;
31extern bool MonitorContextChanged;
32
33int mutt_monitor_add(struct Mailbox *m);
34int mutt_monitor_remove(struct Mailbox *m);
35int mutt_monitor_poll(void);
36
37#endif /* MUTT_MONITOR_H */
int mutt_monitor_add(struct Mailbox *m)
Add a watch for a mailbox.
Definition: monitor.c:481
int mutt_monitor_poll(void)
Check for filesystem changes.
Definition: monitor.c:399
bool MonitorFilesChanged
true after a monitored file has changed
Definition: monitor.c:50
bool MonitorContextChanged
true after the current mailbox has changed
Definition: monitor.c:51
int mutt_monitor_remove(struct Mailbox *m)
Remove a watch for a mailbox.
Definition: monitor.c:526
A mailbox.
Definition: mailbox.h:79