NeoMutt  2024-03-23-147-g885fbc
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:483
int mutt_monitor_poll(void)
Check for filesystem changes.
Definition: monitor.c:400
bool MonitorFilesChanged
true after a monitored file has changed
Definition: monitor.c:52
bool MonitorCurMboxChanged
true after the current mailbox has changed
Definition: monitor.c:54
int mutt_monitor_remove(struct Mailbox *m)
Remove a watch for a mailbox.
Definition: monitor.c:527
A mailbox.
Definition: mailbox.h:79