24#ifndef MUTT_EXPANDO_EXPANDO_H
25#define MUTT_EXPANDO_EXPANDO_H
struct Expando * expando_new(const char *format)
Create an Expando from a string.
struct Expando * expando_parse(const char *str, const struct ExpandoDefinition *defs, struct Buffer *err)
Parse an Expando string.
void expando_free(struct Expando **ptr)
Free an Expando object.
int expando_render(const struct Expando *exp, const struct ExpandoRenderCallback *erc, void *data, MuttFormatFlags flags, int max_cols, struct Buffer *buf)
Render an Expando + data into a string.
bool expando_equal(const struct Expando *a, const struct Expando *b)
Compare two expandos.
Render Expandos using Data.
uint8_t MuttFormatFlags
Flags for expando_render(), e.g. MUTT_FORMAT_FORCESUBJ.
String manipulation buffer.
Definition of a format string.
struct ExpandoNode * node
Parsed tree.
const char * string
Pointer to the parsed string.