2006-08-10 [colin] 2.4.0cvs39
[claws.git] / src / etpan / imap-thread.h
index ea40eac1dec3ad9a9c51e3c50536fe8801ff9103..ee59d62a0858c12409ba95070312b2eb1b0de7bd 100644 (file)
@@ -8,7 +8,7 @@
 #define IMAP_SET_MAX_COUNT 100
 
 void imap_main_set_timeout(int sec);
 #define IMAP_SET_MAX_COUNT 100
 
 void imap_main_set_timeout(int sec);
-void imap_main_init(void);
+void imap_main_init(gboolean skip_ssl_cert_check);
 void imap_main_done(void);
 
 void imap_init(Folder * folder);
 void imap_main_done(void);
 
 void imap_init(Folder * folder);
@@ -16,7 +16,7 @@ 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);
 
 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);
+struct mailimap_capability_data * imap_threaded_capability(Folder *folder, int *ok);
 int imap_threaded_connect_cmd(Folder * folder, const char * command,
                              const char * server, int port);
 
 int imap_threaded_connect_cmd(Folder * folder, const char * command,
                              const char * server, int port);
 
@@ -29,10 +29,11 @@ int imap_threaded_login(Folder * folder,
                        const char * login, const char * password,
                        const char * type);
 int imap_threaded_status(Folder * folder, const char * mb,
                        const char * login, const char * password,
                        const char * type);
 int imap_threaded_status(Folder * folder, const char * mb,
-               struct mailimap_mailbox_data_status ** data_status);
+               struct mailimap_mailbox_data_status ** data_status,
+               guint mask);
 
 int imap_threaded_noop(Folder * folder, unsigned int * p_exists);
 
 int imap_threaded_noop(Folder * folder, unsigned int * p_exists);
-int imap_threaded_starttls(Folder * folder);
+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,
                         const char * mb, const char * new_name);
 int imap_threaded_create(Folder * folder, const char * mb);
 int imap_threaded_rename(Folder * folder,
                         const char * mb, const char * new_name);
@@ -79,7 +80,8 @@ void imap_fetch_env_free(carray * env_list);
 
 int imap_threaded_append(Folder * folder, const char * mailbox,
                         const char * filename,
 
 int imap_threaded_append(Folder * folder, const char * mailbox,
                         const char * filename,
-                        struct mailimap_flag_list * flag_list);
+                        struct mailimap_flag_list * flag_list,
+                        int *uid);
 
 int imap_threaded_expunge(Folder * folder);
 
 
 int imap_threaded_expunge(Folder * folder);