mail-search-build.c \
mail-storage.c \
mail-storage-settings.c \
+ mail-thread.c \
mail-user.c \
mailbox-list.c \
mailbox-search-result.c \
static void mail_thread_clear(struct mail_thread_context *ctx);
-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;
-}
-
static int
mail_strmap_rec_get_msgid(struct mail_thread_context *ctx,
const struct mail_index_strmap_rec *rec,
--- /dev/null
+/* 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;
+}