NeoMutt  2022-04-29-215-gc12b98
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
29typedef 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
64typedef const char *(*format_t)(char *buf, size_t buflen, size_t col, int cols,
65 char op, const char *src, const char *prec,
66 const char *if_str, const char *else_str,
67 intptr_t data, MuttFormatFlags flags);
68
69#endif /* MUTT_FORMAT_FLAGS_H */
uint8_t MuttFormatFlags
Flags for mutt_expando_format(), e.g. MUTT_FORMAT_FORCESUBJ.
Definition: format_flags.h:29