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 62 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 164 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 184 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 203 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 223 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 244 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 277 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 62 of file config.c.