/* Copyright (c) 2011-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "buffer.h"
#include "unichar.h"
#include "message-parser.h"
#include "fts-parser.h"
};
static const char *plaintext_content_types[] = {
};
struct fts_parser **parser_r)
{
unsigned int i;
plaintext? */
return FALSE;
}
for (i = 0; i < N_ELEMENTS(parsers); i++) {
return TRUE;
}
return FALSE;
}
{
}
{
size_t i;
for (i = 0; i < size; i++) {
if (data[i] == '\0')
return TRUE;
}
return FALSE;
}
{
unsigned char *data;
for (i = 0; i < size; i++) {
if (data[i] == '\0')
data[i] = ' ';
}
}
{
/* output isn't valid UTF-8. make it. */
} else {
}
}
}
{
if (ret == 0) {
if (retriable_err_msg_r != NULL)
}
} else
return ret;
}
void fts_parsers_unload(void)
{
unsigned int i;
for (i = 0; i < N_ELEMENTS(parsers); i++) {
}
}