Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-storage/mail-thread.c @ 9490:fd84592e817b HEAD
dovecot-example.conf: Updated dict comments.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 23 Nov 2009 13:08:47 -0500 |
parents | d42a8623a008 |
children | 00cd9aacd03c |
line wrap: on
line source
/* Copyright (c) 2009 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; }