fts-parser.h revision 3ad57148af55e45cc45401162d3460ed0b237a10
ecc5a1a440799a0966c26da956f5d6e2d8073e03Timo Sirainen struct fts_parser *(*try_init)(struct mail_user *user,
772120713c176bde8c932b3fb4c413d223741fcdTimo Sirainen void (*more)(struct fts_parser *parser, struct message_block *block);
3ad57148af55e45cc45401162d3460ed0b237a10Timo Sirainen void (*unload)(void);
ecc5a1a440799a0966c26da956f5d6e2d8073e03Timo Sirainenextern struct fts_parser_vfuncs fts_parser_html;
ecc5a1a440799a0966c26da956f5d6e2d8073e03Timo Sirainenextern struct fts_parser_vfuncs fts_parser_script;
ecc5a1a440799a0966c26da956f5d6e2d8073e03Timo Sirainen const char *content_type, const char *content_disposition,
ecc5a1a440799a0966c26da956f5d6e2d8073e03Timo Sirainen/* The parser is initially called with message body blocks. Once message is
ecc5a1a440799a0966c26da956f5d6e2d8073e03Timo Sirainen finished, it's still called with incoming size=0 while the parser increases
ecc5a1a440799a0966c26da956f5d6e2d8073e03Timo Sirainen it to non-zero. */
772120713c176bde8c932b3fb4c413d223741fcdTimo Sirainenvoid fts_parser_more(struct fts_parser *parser, struct message_block *block);