Custom function to parse a format string into a Node. More...
Functions | |
struct ExpandoNode * | parse_folder_date (const char *str, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | node_condbool_parse (const char *str, const struct ExpandoDefinition *defs, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a CondBool format string - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | node_conddate_parse (const char *str, int did, int uid, const char **parsed_until, struct ExpandoParseError *err) |
Parse a CondDate format string - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | node_padding_parse (const char *str, 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, 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, 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, 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, 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, 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, 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, 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] | 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, |
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 62 of file config.c.
struct ExpandoNode * node_condbool_parse | ( | const char * | str, |
const struct ExpandoDefinition * | defs, | ||
ExpandoParserFlags | flags, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a CondBool format string - Implements ExpandoDefinition::parse() -.
Definition at line 63 of file node_condbool.c.
struct ExpandoNode * node_conddate_parse | ( | const char * | str, |
int | did, | ||
int | uid, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a CondDate format string - Implements ExpandoDefinition::parse() -.
Definition at line 208 of file node_conddate.c.
struct ExpandoNode * node_padding_parse | ( | const char * | str, |
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, |
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 163 of file mutt_config.c.
struct ExpandoNode * parse_index_date_local | ( | const char * | str, |
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 182 of file mutt_config.c.
struct ExpandoNode * parse_index_date | ( | const char * | str, |
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 200 of file mutt_config.c.
struct ExpandoNode * parse_index_hook | ( | const char * | str, |
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 219 of file mutt_config.c.
struct ExpandoNode * parse_tags_transformed | ( | const char * | str, |
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 alphabetic character.
Definition at line 239 of file mutt_config.c.
struct ExpandoNode * parse_subject | ( | const char * | str, |
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 267 of file mutt_config.c.
struct ExpandoNode * parse_pgp_date | ( | const char * | str, |
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 62 of file config.c.