NeoMutt  2024-04-25-1-g3de005
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
helpers.h
Go to the documentation of this file.
1
24#ifndef MUTT_EXPANDO_HELPERS_H
25#define MUTT_EXPANDO_HELPERS_H
26
27struct Buffer;
30
31const char *skip_classic_expando (const char *str, const struct ExpandoDefinition *defs);
32const char *skip_until_ch (const char *start, char terminator);
33const char *skip_until_classic_expando(const char *start);
34
35const struct ExpandoRenderData *find_get_number(const struct ExpandoRenderData *rdata, int did, int uid);
36const struct ExpandoRenderData *find_get_string(const struct ExpandoRenderData *rdata, int did, int uid);
37
38void buf_lower_special(struct Buffer *buf);
39
40#endif /* MUTT_EXPANDO_HELPERS_H */
const char * skip_until_ch(const char *start, char terminator)
Search a string for a terminator character.
Definition: helpers.c:95
const char * skip_classic_expando(const char *str, const struct ExpandoDefinition *defs)
Skip over the text of an Expando.
Definition: helpers.c:145
const char * skip_until_classic_expando(const char *start)
Search through string until we reach an Expando character.
Definition: helpers.c:129
const struct ExpandoRenderData * find_get_number(const struct ExpandoRenderData *rdata, int did, int uid)
Find a get_number() callback function.
Definition: helpers.c:48
const struct ExpandoRenderData * find_get_string(const struct ExpandoRenderData *rdata, int did, int uid)
Find a get_string() callback function.
Definition: helpers.c:72
void buf_lower_special(struct Buffer *buf)
Convert to lowercase, excluding special characters.
Definition: helpers.c:177
String manipulation buffer.
Definition: buffer.h:36
Definition of a format string.
Definition: definition.h:52
int did
Domain ID.
Definition: render.h:49
int uid
Unique ID.
Definition: render.h:50