2007-12-06 [colin] 3.1.0cvs62
[claws.git] / src / etpan / imap-thread.h
index dbecaa4bd60da9eb3500583e278a80dd2d7dcf6f..eae204ff60681e7af695f4903935922465e27fb2 100644 (file)
@@ -24,7 +24,7 @@
 #include <libetpan/libetpan.h>
 #include "folder.h"
 
-#define IMAP_SET_MAX_COUNT 100
+#define IMAP_SET_MAX_COUNT 500
 
 void imap_main_set_timeout(int sec);
 void imap_main_init(gboolean skip_ssl_cert_check);
@@ -36,9 +36,11 @@ void imap_done(Folder * folder);
 int imap_threaded_connect(Folder * folder, const char * server, int port);
 int imap_threaded_connect_ssl(Folder * folder, const char * server, int port);
 struct mailimap_capability_data * imap_threaded_capability(Folder *folder, int *ok);
+
+#ifndef G_OS_WIN32
 int imap_threaded_connect_cmd(Folder * folder, const char * command,
                              const char * server, int port);
-
+#endif
 void imap_threaded_disconnect(Folder * folder);
 
 int imap_threaded_list(Folder * folder, const char * base,
@@ -53,8 +55,14 @@ int imap_threaded_login(Folder * folder,
 int imap_threaded_status(Folder * folder, const char * mb,
                struct mailimap_mailbox_data_status ** data_status,
                guint mask);
-
-int imap_threaded_noop(Folder * folder, unsigned int * p_exists);
+int imap_threaded_close(Folder * folder);
+
+int imap_threaded_noop(Folder * folder, unsigned int * p_exists, 
+                      unsigned int *p_recent, 
+                      unsigned int *p_expunge,
+                      unsigned int *p_unseen,
+                      unsigned int *p_uidnext,
+                      unsigned int *p_uidval);
 int imap_threaded_starttls(Folder * folder, const gchar *host, int port);
 int imap_threaded_create(Folder * folder, const char * mb);
 int imap_threaded_rename(Folder * folder,
@@ -62,7 +70,7 @@ int imap_threaded_rename(Folder * folder,
 int imap_threaded_delete(Folder * folder, const char * mb);
 int imap_threaded_select(Folder * folder, const char * mb,
                         gint * exists, gint * recent, gint * unseen,
-                        guint32 * uid_validity);
+                        guint32 * uid_validity, gint * can_create_flags);
 int imap_threaded_examine(Folder * folder, const char * mb,
                          gint * exists, gint * recent, gint * unseen,
                          guint32 * uid_validity);