/* Copyright (c) 2009-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "mail-thread.h"
struct {
const char *name;
} mail_thread_type_strings[] = {
{ "REFERENCES", MAIL_THREAD_REFERENCES },
{ "REFS", MAIL_THREAD_REFS },
{ "ORDEREDSUBJECT", MAIL_THREAD_ORDEREDSUBJECT }
};
{
unsigned int i;
for (i = 0; i < N_ELEMENTS(mail_thread_type_strings); i++) {
return TRUE;
}
}
return FALSE;
}
{
unsigned int i;
for (i = 0; i < N_ELEMENTS(mail_thread_type_strings); i++) {
return mail_thread_type_strings[i].name;
}
}