Lines Matching refs:parser_context
219 struct fts_parser_context parser_context;
229 i_zero(&parser_context);
230 parser_context.content_type = ctx->content_type != NULL ?
232 if (strncmp(parser_context.content_type, "multipart/", 10) == 0) {
237 parser_context.user = mail_storage_get_user(storage);
238 parser_context.content_disposition = ctx->content_disposition;
241 if (fts_parser_init(&parser_context, &ctx->body_parser)) {
245 } else if (strncmp(parser_context.content_type, "text/", 5) == 0 ||
246 strncmp(parser_context.content_type, "message/", 8) == 0) {
258 key.body_content_type = parser_context.content_type;