blob: 1e7af1f2e53cf1318711cfb3a71918d1b13b2ff5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef MAIL_SEARCH_PARSER_PRIVATE_H
#define MAIL_SEARCH_PARSER_PRIVATE_H
#include "mail-search-parser.h"
struct mail_search_parser_vfuncs {
int (*parse_key)(struct mail_search_parser *parser, const char **key_r);
int (*parse_string)(struct mail_search_parser *parser,
const char **value_r);
bool (*parse_skip_next)(struct mail_search_parser *parser,
const char *str);
};
struct mail_search_parser {
struct mail_search_parser_vfuncs v;
pool_t pool;
const char *cur_key;
const char *error;
};
#endif
|