Lines Matching defs:parser
5 #include "rfc822-parser.h"
10 struct rfc822_parser_context parser;
13 rfc822_parser_init(&parser, (const unsigned char *)*msgid_p,
24 rfc822_skip_lwsp(&parser);
26 if (*parser.data == '"')
27 ret = rfc822_parse_quoted_string(&parser, msgid);
29 ret = rfc822_parse_dot_atom(&parser, msgid);
33 if (*parser.data != '@')
36 parser.data++;
37 rfc822_skip_lwsp(&parser);
39 if (rfc822_parse_dot_atom(&parser, msgid) <= 0)
42 if (*parser.data != '>')
45 *msgid_p = (const char *)parser.data + 1;