NeoMutt  2020-11-20
Teaching an old dog new tricks
DOXYGEN
format_flags.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_FORMAT_FLAGS_H
24 #define MUTT_FORMAT_FLAGS_H
25 
26 #include <stddef.h>
27 #include <stdint.h>
28 
29 typedef uint8_t MuttFormatFlags;
30 #define MUTT_FORMAT_NO_FLAGS 0
31 #define MUTT_FORMAT_FORCESUBJ (1 << 0)
32 #define MUTT_FORMAT_TREE (1 << 1)
33 #define MUTT_FORMAT_OPTIONAL (1 << 2)
34 #define MUTT_FORMAT_STAT_FILE (1 << 3)
35 #define MUTT_FORMAT_ARROWCURSOR (1 << 4)
36 #define MUTT_FORMAT_INDEX (1 << 5)
37 #define MUTT_FORMAT_NOFILTER (1 << 6)
38 #define MUTT_FORMAT_PLAIN (1 << 7)
39 
40 
61 typedef const char *(*format_t)(char *buf, size_t buflen, size_t col, int cols,
62  char op, const char *src, const char *prec,
63  const char *if_str, const char *else_str,
64  intptr_t data, MuttFormatFlags flags);
65 
66 #endif /* MUTT_FORMAT_FLAGS_H */
uint8_t MuttFormatFlags
Flags for mutt_expando_format(), e.g. MUTT_FORMAT_FORCESUBJ.
Definition: format_flags.h:29
int flags
Pattern flags, e.g. MUTT_PC_FULL_MSG.
Definition: private.h:55
int op
Operation to perform, e.g. MUTT_PAT_SCORE.
Definition: private.h:54