bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2015-2018 Dovecot authors, see the included COPYING file */
2ac5f36aa7c2e7a07ba8815d43a6d7483f62e74cTimo Sirainenstatic unichar_t get_ending_utf8_char(const char *str, size_t *end_pos)
471167b9701fcc99b66f7a8bcae07bc4ac0dbbd4Timo Sirainen if (uni_utf8_get_char(str + *end_pos, &c) <= 0)
471167b9701fcc99b66f7a8bcae07bc4ac0dbbd4Timo Sirainenfts_filter_english_possessive_filter(struct fts_filter *filter ATTR_UNUSED,
471167b9701fcc99b66f7a8bcae07bc4ac0dbbd4Timo Sirainen const char **token,
471167b9701fcc99b66f7a8bcae07bc4ac0dbbd4Timo Sirainen if (len > 1 && ((*token)[len-1] == 's' || (*token)[len-1] == 'S')) {
471167b9701fcc99b66f7a8bcae07bc4ac0dbbd4Timo Sirainenstatic const struct fts_filter fts_filter_english_possessive_real = {