24#ifndef MUTT_EXPANDO_RENDER_H
25#define MUTT_EXPANDO_RENDER_H
33#define MUTT_FORMAT_NO_FLAGS 0
34#define MUTT_FORMAT_FORCESUBJ (1 << 0)
35#define MUTT_FORMAT_TREE (1 << 1)
36#define MUTT_FORMAT_STAT_FILE (1 << 2)
37#define MUTT_FORMAT_ARROWCURSOR (1 << 3)
38#define MUTT_FORMAT_INDEX (1 << 4)
39#define MUTT_FORMAT_PLAIN (1 << 5)
void(* get_string_t)(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
long(* get_number_t)(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
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.
uint8_t MuttFormatFlags
Flags for expando_render(), e.g. MUTT_FORMAT_FORCESUBJ.
String manipulation buffer.
int uid
Unique ID, e.g. ExpandoDataAlias.
int did
Domain ID, ExpandoDomain.