NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mutt.h
Go to the documentation of this file.
1
25#ifndef MUTT_MUTT_H
26#define MUTT_MUTT_H
27
28#include "config.h"
29#include <limits.h>
30#include <stdbool.h>
31#include <stdint.h>
32
33/* On OS X 10.5.x, wide char functions are inlined by default breaking
34 * --without-wc-funcs compilation
35 */
36#ifdef __APPLE_CC__
37#define _DONT_USE_CTYPE_INLINE_
38#endif
39
40/* PATH_MAX is undefined on the hurd */
41#ifndef PATH_MAX
42#define PATH_MAX 4096
43#endif
44
45#ifdef HAVE_FGETS_UNLOCKED
46#define fgets fgets_unlocked
47#endif
48
49#ifdef HAVE_FGETC_UNLOCKED
50#define fgetc fgetc_unlocked
51#endif
52
53extern bool StartupComplete;
54
55typedef uint8_t CompletionFlags;
56#define MUTT_COMP_NO_FLAGS 0
57#define MUTT_COMP_CLEAR (1 << 0)
58#define MUTT_COMP_PASS (1 << 1)
59#define MUTT_COMP_UNBUFFERED (1 << 2)
60
67{
86
88};
89
90/* flags for parse_spam_list */
91#define MUTT_SPAM 1
92#define MUTT_NOSPAM 2
93
94void reset_value(const char *name);
95
96#endif /* MUTT_MUTT_H */
uint8_t CompletionFlags
Flags for mw_get_field(), e.g. MUTT_COMP_NO_FLAGS.
Definition: mutt.h:55
void reset_value(const char *name)
bool StartupComplete
When the config has been read.
Definition: main.c:189
MessageType
To set flags or match patterns.
Definition: mutt.h:67
@ MUTT_ALL
All messages.
Definition: mutt.h:68
@ MUTT_UNDELETE
Messages to be un-deleted.
Definition: mutt.h:76
@ MUTT_TRASH
Trashed messages.
Definition: mutt.h:85
@ MUTT_LIMIT
Messages in limited view.
Definition: mutt.h:82
@ MUTT_UNTAG
Messages to be un-tagged.
Definition: mutt.h:81
@ MUTT_SUPERSEDED
Superseded messages.
Definition: mutt.h:84
@ MUTT_EXPIRED
Expired messages.
Definition: mutt.h:83
@ MUTT_MT_MAX
Definition: mutt.h:87
@ MUTT_READ
Messages that have been read.
Definition: mutt.h:73
@ MUTT_OLD
Old messages.
Definition: mutt.h:71
@ MUTT_PURGE
Messages to be purged (bypass trash)
Definition: mutt.h:77
@ MUTT_NONE
No messages.
Definition: mutt.h:69
@ MUTT_TAG
Tagged messages.
Definition: mutt.h:80
@ MUTT_FLAG
Flagged messages.
Definition: mutt.h:79
@ MUTT_DELETED
Deleted messages.
Definition: mutt.h:78
@ MUTT_DELETE
Messages to be deleted.
Definition: mutt.h:75
@ MUTT_NEW
New messages.
Definition: mutt.h:70
@ MUTT_UNREAD
Unread messages.
Definition: mutt.h:74
@ MUTT_REPLIED
Messages that have been replied to.
Definition: mutt.h:72