X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fetpan%2Fimap-thread.h;h=ee59d62a0858c12409ba95070312b2eb1b0de7bd;hp=562d6df842ae7d66eac72c30bec57418300e4038;hb=db6fba9eea92111a486bc72a6cf2a220af6b3032;hpb=339866c1ae21e2b5e3d3da81a3dfecb141307fbb diff --git a/src/etpan/imap-thread.h b/src/etpan/imap-thread.h index 562d6df84..ee59d62a0 100644 --- a/src/etpan/imap-thread.h +++ b/src/etpan/imap-thread.h @@ -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);