SMTP over SSL (untested, feedback requested)
[claws.git] / src / imap.h
index 958ad8476e84aabf1dc7053f58963b2f1d0608f7..96a7716efed5b34a5de64b34366a826884533ce4 100644 (file)
@@ -70,10 +70,18 @@ typedef enum
 #define IMAP_IS_DELETED(flags) ((flags & IMAP_FLAG_DELETED) != 0)
 #define IMAP_IS_DRAFT(flags)   ((flags & IMAP_FLAG_DRAFT) != 0)
 
+#if !USE_SSL
 Session *imap_session_new              (const gchar    *server,
                                         gushort         port,
                                         const gchar    *user,
                                         const gchar    *pass);
+#else
+Session *imap_session_new              (const gchar    *server,
+                                        gushort         port,
+                                        const gchar    *user,
+                                        const gchar    *pass,
+                                        gboolean        use_ssl);
+#endif
 void imap_session_destroy              (IMAPSession    *session);
 void imap_session_destroy_all          (void);