NeoMutt  2023-03-22
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:480
int mutt_monitor_poll(void)
Check for filesystem changes.
Definition: monitor.c:398
bool MonitorFilesChanged
true after a monitored file has changed
Definition: monitor.c:49
bool MonitorContextChanged
true after the current mailbox has changed
Definition: monitor.c:50
int mutt_monitor_remove(struct Mailbox *m)
Remove a watch for a mailbox.
Definition: monitor.c:525
A mailbox.
Definition: mailbox.h:79