NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
node_condbool.h
Go to the documentation of this file.
1
24#ifndef MUTT_EXPANDO_NODE_CONDBOOL_H
25#define MUTT_EXPANDO_NODE_CONDBOOL_H
26
27#include "definition.h"
28#include "render.h"
29
30struct Buffer;
31struct ExpandoNode;
33
34struct ExpandoNode *node_condbool_parse(const char *str,
35 const struct ExpandoDefinition *defs,
36 ExpandoParserFlags flags, const char **parsed_until,
37 struct ExpandoParseError *err);
38
39int node_condbool_render(const struct ExpandoNode *node,
40 const struct ExpandoRenderData *rdata, struct Buffer *buf,
41 int max_cols, void *data, MuttFormatFlags flags);
42
43#endif /* MUTT_EXPANDO_NODE_CONDBOOL_H */
Define an Expando format string.
uint8_t ExpandoParserFlags
Flags for expando_parse(), e.g. EP_CONDITIONAL.
Definition: definition.h:41
struct ExpandoNode * node_condbool_parse(const char *str, const struct ExpandoDefinition *defs, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a CondBool format string - Implements ExpandoDefinition::parse() -.
Definition: node_condbool.c:63
int node_condbool_render(const struct ExpandoNode *node, const struct ExpandoRenderData *rdata, struct Buffer *buf, int max_cols, void *data, MuttFormatFlags flags)
Callback for every bool node - Implements ExpandoNode::render() -.
Render Expandos using Data.
uint8_t MuttFormatFlags
Flags for expando_render(), e.g. MUTT_FORMAT_FORCESUBJ.
Definition: render.h:32
String manipulation buffer.
Definition: buffer.h:36
Definition of a format string.
Definition: definition.h:52
Basic Expando Node.
Definition: node.h:67
Buffer for parsing errors.
Definition: parse.h:35