summaryrefslogtreecommitdiffstats
path: root/imap/thread.h
blob: 5f53389e41d38ec94606a6bcf856a77c8f62061d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef	thread_h
#define	thread_h

#include	"searchinfo.h"
/*
** Copyright 2000 Double Precision, Inc.
** See COPYING for distribution information.
*/


struct threadinfo;

extern int thread_orderedsubj(struct threadinfo *, struct threadinfo *);

struct unicode_info;

void dothreadorderedsubj(struct searchinfo *, struct searchinfo *,
			 const char *, int);
void dothreadreferences(struct searchinfo *, struct searchinfo *,
			const char *, int);

/* While we're at it, some support for SORT */

struct temp_sort_stack {	/* Temporary stack list of SORT criteria */
	struct temp_sort_stack *next;
	search_type type;
	} ;

void free_temp_sort_stack(struct temp_sort_stack *);
void dosortmsgs(struct searchinfo *, struct searchinfo *,
		const char *, int);

#endif