Mercurial > dovecot > core-2.2
view src/lib-storage/mail-thread.c @ 10582:615eef3139c2 HEAD
Updated copyright notices to include year 2010.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 25 Jan 2010 01:19:08 +0200 |
parents | ca39cedd796e |
children | 447bce266022 |
line wrap: on
line source
/* Copyright (c) 2009-2010 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "mail-thread.h" bool mail_thread_type_parse(const char *str, enum mail_thread_type *type_r) { if (strcasecmp(str, "REFERENCES") == 0) *type_r = MAIL_THREAD_REFERENCES; else if (strcasecmp(str, "REFS") == 0) *type_r = MAIL_THREAD_REFS; else return FALSE; return TRUE; }