Custom function to parse a format string into a Node. More...
Functions | |
struct ExpandoNode * | parse_folder_date (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -. | |
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() -. | |
struct ExpandoNode * | parse_index_date_recv_local (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_index_date_local (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_index_date (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_index_hook (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse an index-hook - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_tags_transformed (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a Tags-Transformed Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_subject (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a Subject Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_pgp_date (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -. | |
Custom function to parse a format string into a Node.
[in] | str | String to parse |
[in] | fmt | Formatting information |
[in] | did | Domain ID of the data |
[in] | uid | Unique ID of the data |
[in] | flags | Flags, e.g. EP_CONDITIONAL |
[out] | parsed_until | First character after the parsed string |
[out] | err | Buffer for error message |
ptr | Parsed Node |
struct ExpandoNode * parse_folder_date | ( | const char * | str, |
struct ExpandoFormat * | fmt, | ||
int | did, | ||
int | uid, | ||
ExpandoParserFlags | flags, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -.
Parse a custom Expando of the form, "%[string]". The "string" will be passed to strftime().
Definition at line 64 of file config.c.
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() -.
Parse a Padding Expando of the form, "%|X", "%>X" or "%*X", where the character 'X' will be used to fill the space.
Definition at line 234 of file node_padding.c.
struct ExpandoNode * parse_index_date_recv_local | ( | const char * | str, |
struct ExpandoFormat * | fmt, | ||
int | did, | ||
int | uid, | ||
ExpandoParserFlags | flags, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -.
Parse a custom Expando of the form, "%(string)". The "string" will be passed to strftime().
Definition at line 165 of file mutt_config.c.
struct ExpandoNode * parse_index_date_local | ( | const char * | str, |
struct ExpandoFormat * | fmt, | ||
int | did, | ||
int | uid, | ||
ExpandoParserFlags | flags, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -.
Parse a custom expando of the form, "%[string]". The "string" will be passed to strftime().
Definition at line 185 of file mutt_config.c.
struct ExpandoNode * parse_index_date | ( | const char * | str, |
struct ExpandoFormat * | fmt, | ||
int | did, | ||
int | uid, | ||
ExpandoParserFlags | flags, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -.
Parse a custom Expando of the form, "%{string}". The "string" will be passed to strftime().
Definition at line 204 of file mutt_config.c.
struct ExpandoNode * parse_index_hook | ( | const char * | str, |
struct ExpandoFormat * | fmt, | ||
int | did, | ||
int | uid, | ||
ExpandoParserFlags | flags, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse an index-hook - Implements ExpandoDefinition::parse() -.
Parse a custom Expando of the form, "%@name@". The "name" will be looked up as an index-hook, then the result parsed as an Expando.
Definition at line 224 of file mutt_config.c.
struct ExpandoNode * parse_tags_transformed | ( | const char * | str, |
struct ExpandoFormat * | fmt, | ||
int | did, | ||
int | uid, | ||
ExpandoParserFlags | flags, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a Tags-Transformed Expando - Implements ExpandoDefinition::parse() -.
Parse a custom expando of the form, "%G?" where '?' is an alpha-numeric character.
Definition at line 245 of file mutt_config.c.
struct ExpandoNode * parse_subject | ( | const char * | str, |
struct ExpandoFormat * | fmt, | ||
int | did, | ||
int | uid, | ||
ExpandoParserFlags | flags, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a Subject Expando - Implements ExpandoDefinition::parse() -.
Parse a Subject Expando, "%s", into two separate Nodes. One for the tree, one for the subject.
Definition at line 278 of file mutt_config.c.
struct ExpandoNode * parse_pgp_date | ( | const char * | str, |
struct ExpandoFormat * | fmt, | ||
int | did, | ||
int | uid, | ||
ExpandoParserFlags | flags, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -.
Parse a custom Expando of the form, "%[string]". The "string" will be passed to strftime().
Definition at line 63 of file config.c.