* src/filter.c
[claws.git] / src / imap.h
index d425aa8..05e75e4 100644 (file)
@@ -37,6 +37,7 @@
 typedef struct _IMAPFolder     IMAPFolder;
 typedef struct _IMAPSession    IMAPSession;
 typedef struct _IMAPNameSpace  IMAPNameSpace;
+typedef struct _IMAPFolderItem IMAPFolderItem;
 
 #include "prefs_account.h"
 
@@ -67,6 +68,14 @@ struct _IMAPNameSpace
        gchar separator;
 };
 
+struct _IMAPFolderItem
+{
+       FolderItem item;
+
+       guint lastuid;
+       GSList *uid_list;
+};
+
 #define IMAP_SUCCESS   0
 #define IMAP_SOCKET    2
 #define IMAP_AUTHFAIL  3
@@ -96,6 +105,9 @@ Folder       *imap_folder_new                (const gchar    *name,
                                         const gchar    *path);
 void    imap_folder_destroy            (IMAPFolder     *folder);
 
+FolderItem *imap_folder_item_new       ();
+void imap_folder_item_destroy          (FolderItem *item);
+
 Session *imap_session_new              (const PrefsAccount *account);
 void imap_session_destroy              (IMAPSession    *session);
 void imap_session_destroy_all          (void);