sync with sylpheed 0.5.3cvs9
authorPaul Mangan <paul@claws-mail.org>
Mon, 27 Aug 2001 13:34:08 +0000 (13:34 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 27 Aug 2001 13:34:08 +0000 (13:34 +0000)
src/imap.h

index 96a7716efed5b34a5de64b34366a826884533ce4..36b8d3613907f575337324854c5bc9dae0a0b9e0 100644 (file)
 #ifndef __IMAP_H__
 #define __IMAP_H__
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include <glib.h>
 
 #include "folder.h"
@@ -70,17 +74,17 @@ 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
+#if USE_SSL
 Session *imap_session_new              (const gchar    *server,
                                         gushort         port,
                                         const gchar    *user,
-                                        const gchar    *pass);
+                                        const gchar    *pass,
+                                        gboolean        use_ssl);
 #else
 Session *imap_session_new              (const gchar    *server,
                                         gushort         port,
                                         const gchar    *user,
-                                        const gchar    *pass,
-                                        gboolean        use_ssl);
+                                        const gchar    *pass);
 #endif
 void imap_session_destroy              (IMAPSession    *session);
 void imap_session_destroy_all          (void);