NeoMutt  2023-11-03-85-g512e01
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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:397
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:51
int mutt_monitor_remove(struct Mailbox *m)
Remove a watch for a mailbox.
Definition: monitor.c:524
A mailbox.
Definition: mailbox.h:79