NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
monitor.h
Go to the documentation of this file.
1
24#ifndef MUTT_MONITOR_H
25#define MUTT_MONITOR_H
26
27#include <stdbool.h>
28
29struct Mailbox;
30
31extern bool MonitorFilesChanged;
32extern bool MonitorCurMboxChanged;
33
34int mutt_monitor_add(struct Mailbox *m);
35int mutt_monitor_remove(struct Mailbox *m);
36int mutt_monitor_poll(void);
37
38#endif /* MUTT_MONITOR_H */
int mutt_monitor_add(struct Mailbox *m)
Add a watch for a mailbox.
Definition: monitor.c:484
int mutt_monitor_poll(void)
Check for filesystem changes.
Definition: monitor.c:401
bool MonitorFilesChanged
true after a monitored file has changed
Definition: monitor.c:53
bool MonitorCurMboxChanged
true after the current mailbox has changed
Definition: monitor.c:55
int mutt_monitor_remove(struct Mailbox *m)
Remove a watch for a mailbox.
Definition: monitor.c:528
A mailbox.
Definition: mailbox.h:79