NeoMutt  2025-09-05-43-g177ed6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
node_padding.h
Go to the documentation of this file.
1
23
24#ifndef MUTT_EXPANDO_NODE_PADDING_H
25#define MUTT_EXPANDO_NODE_PADDING_H
26
27#include "definition.h"
28
29struct ExpandoFormat;
30struct ExpandoNode;
32
49
60
68
69struct ExpandoNode *node_padding_parse(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err);
70
71void node_padding_repad(struct ExpandoNode **parent);
72
73#endif /* MUTT_EXPANDO_NODE_PADDING_H */
Define an Expando format string.
uint8_t ExpandoParserFlags
Flags for expando_parse(), e.g. EP_CONDITIONAL.
Definition definition.h:33
struct ExpandoNode * node_padding_parse(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Padding Expando - Implements ExpandoDefinition::parse() -.
void node_padding_repad(struct ExpandoNode **parent)
Rearrange Padding in a tree of ExpandoNodes.
ENPad
Names for the Padding's children.
@ ENP_LEFT
Index of Left-Hand Nodes.
@ ENP_RIGHT
Index of Right-Hand Nodes.
ExpandoPadType
Padding type.
@ EPT_FILL_EOL
Fill to the end-of-line.
@ EPT_SOFT_FILL
Soft-fill: right-hand-side will be truncated.
@ EPT_HARD_FILL
Hard-fill: left-hand-side will be truncated.
Formatting information for an Expando.
Definition node.h:53
Basic Expando Node.
Definition node.h:67
int uid
Unique ID, e.g. ED_EMA_SIZE.
Definition node.h:70
int did
Domain ID, e.g. ED_EMAIL.
Definition node.h:69
Buffer for parsing errors.
Definition parse.h:37
Private data for a Padding Node -.
enum ExpandoPadType pad_type
Padding type.