2006-08-10 [colin] 2.4.0cvs39
[claws.git] / src / etpan / imap-thread.h
index 562d6df842ae7d66eac72c30bec57418300e4038..ee59d62a0858c12409ba95070312b2eb1b0de7bd 100644 (file)
@@ -8,7 +8,7 @@
 #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);
@@ -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);
-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);
 
@@ -33,7 +33,7 @@ int imap_threaded_status(Folder * folder, const char * mb,
                guint mask);
 
 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);
@@ -80,7 +80,8 @@ void imap_fetch_env_free(carray * env_list);
 
 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);