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


                         


                         



                                
                                        

                                                                    
                                                                             

  



                                                                          


                               
#ifndef _MESSAGE_THREAD_H
#define _MESSAGE_THREAD_H

#include <gnome.h>
#include "message-list.h"

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

void mail_do_thread_messages (MessageList *ml, GPtrArray *uids, 
                  gboolean use_camel_uidfree,
                  void (*build) (MessageList *, ETreePath *,
                         struct _container *, int *));

#endif /* !_MESSAGE_THREAD_H */