NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
render.c
Go to the documentation of this file.
1
23
30
31
#include "config.h"
32
#include "
render.h
"
33
#include "
node.h
"
34
45
int
node_render
(
const
struct
ExpandoNode
*node,
const
struct
ExpandoRenderCallback
*erc,
46
struct
Buffer
*buf,
int
max_cols,
void
*data,
MuttFormatFlags
flags)
47
{
48
if
(!node || !node->
render
)
49
return
0;
50
51
return
node->
render
(node, erc, buf, max_cols, data, flags);
52
}
node.h
Basic Expando Node.
node_render
int node_render(const struct ExpandoNode *node, const struct ExpandoRenderCallback *erc, struct Buffer *buf, int max_cols, void *data, MuttFormatFlags flags)
Render a tree of ExpandoNodes into a string.
Definition
render.c:45
render.h
Render Expandos using Data.
MuttFormatFlags
uint8_t MuttFormatFlags
Definition
render.h:45
Buffer
String manipulation buffer.
Definition
buffer.h:36
ExpandoNode
Basic Expando Node.
Definition
node.h:67
ExpandoNode::render
int(* render)(const struct ExpandoNode *node, const struct ExpandoRenderCallback *erc, struct Buffer *buf, int max_cols, void *data, MuttFormatFlags flags)
Definition
node.h:92
ExpandoRenderCallback
Definition
render.h:82