view src/imap/imap-thread.h @ 7783:929198b1f313 HEAD

Merged initial mail thread indexing implementation.
author Timo Sirainen <tss@iki.fi>
date Mon, 09 Jun 2008 03:56:04 +0300
parents 077bb84e9e77 34d402399040
children 05511835e4b1
line wrap: on
line source

#ifndef IMAP_THREAD_H
#define IMAP_THREAD_H

enum mail_thread_type {
	MAIL_THREAD_NONE,
	MAIL_THREAD_ORDEREDSUBJECT,
	MAIL_THREAD_REFERENCES,
	MAIL_THREAD_REFERENCES2
};

int imap_thread(struct client_command_context *cmd,
		struct mail_search_args *args, enum mail_thread_type type);

void imap_thread_init(void);
void imap_thread_deinit(void);

#endif