NeoMutt
2024-04-25-109-g83a6c4
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
parse.h
Go to the documentation of this file.
1
24
#ifndef MUTT_EXPANDO_PARSER_H
25
#define MUTT_EXPANDO_PARSER_H
26
27
struct
ExpandoNode
;
28
struct
ExpandoDefinition
;
29
33
struct
ExpandoParseError
34
{
35
char
message
[256];
36
const
char
*
position
;
37
};
38
39
void
node_tree_parse
(
struct
ExpandoNode
**root,
const
char
*
string
,
const
struct
ExpandoDefinition
*defs,
struct
ExpandoParseError
*error);
40
41
#endif
/* MUTT_EXPANDO_PARSER_H */
node_tree_parse
void node_tree_parse(struct ExpandoNode **root, const char *string, const struct ExpandoDefinition *defs, struct ExpandoParseError *error)
Parse a format string into ExpandoNodes.
Definition:
parse.c:301
ExpandoDefinition
Definition of a format string.
Definition:
definition.h:52
ExpandoNode
Basic Expando Node.
Definition:
node.h:69
ExpandoParseError
Buffer for parsing errors.
Definition:
parse.h:34
ExpandoParseError::position
const char * position
Position of error in original string.
Definition:
parse.h:36
ExpandoParseError::message
char message[256]
Error message.
Definition:
parse.h:35