Back to index

courier  0.68.2
thread.h
Go to the documentation of this file.
00001 #ifndef       thread_h
00002 #define       thread_h
00003 
00004 #include      "searchinfo.h"
00005 /*
00006 ** Copyright 2000 Double Precision, Inc.
00007 ** See COPYING for distribution information.
00008 */
00009 
00010 
00011 struct threadinfo;
00012 
00013 extern int thread_orderedsubj(struct threadinfo *, struct threadinfo *);
00014 
00015 struct unicode_info;
00016 
00017 void dothreadorderedsubj(struct searchinfo *, struct searchinfo *,
00018                       const char *, int);
00019 void dothreadreferences(struct searchinfo *, struct searchinfo *,
00020                      const char *, int);
00021 
00022 /* While we're at it, some support for SORT */
00023 
00024 struct temp_sort_stack {    /* Temporary stack list of SORT criteria */
00025        struct temp_sort_stack *next;
00026        search_type type;
00027        } ;
00028 
00029 void free_temp_sort_stack(struct temp_sort_stack *);
00030 void dosortmsgs(struct searchinfo *, struct searchinfo *,
00031               const char *, int);
00032 
00033 #endif