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