aboutsummaryrefslogblamecommitdiffstats
path: root/mail/message-thread.h
blob: ffde0019b957598556232aecf269a62d492e69aa (plain) (tree)
1
2
3
4
5
6
7
8






                                
                                        



                                                                    
                                                                         






                                               
#ifndef _MESSAGE_THREAD_H
#define _MESSAGE_THREAD_H

struct _container {
    struct _container *next,
        *parent,
        *child;
    const CamelMessageInfo *message;
    char *root_subject; /* cached root equivalent subject */
    int re;         /* re version of subject? */
};

struct _container *thread_messages(CamelFolder *folder, GPtrArray *uids);
void thread_messages_free(struct _container *);

/* for debug only */
int dump_tree(struct _container *c, int depth);

#endif /* !_MESSAGE_THREAD_H */