NeoMutt  2024-04-25-1-g3de005
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 *s, const char **parsed_until,
35 const struct ExpandoDefinition *defs,
37 struct ExpandoParseError *error);
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 *s, const char **parsed_until, const struct ExpandoDefinition *defs, ExpandoParserFlags flags, struct ExpandoParseError *error)
Parse a CondBool format string - Implements ExpandoDefinition::parse() -.
Definition: node_condbool.c:68
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:69
Buffer for parsing errors.
Definition: parse.h:34