added SSL support for POP using OpenSSL
[claws.git] / src / prefs_account.h
index e08ff1dbc890daaa5d8d4bff5575c74b011cdb1d..45ca63821e5e909c8dd9d38bd15268376e832a7e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999,2000 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2001 Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -36,8 +36,7 @@ typedef enum {
        A_RPOP,
        A_IMAP4,
        A_NNTP,
        A_RPOP,
        A_IMAP4,
        A_NNTP,
-       A_LOCAL,
-       A_LOCAL_CMD
+       A_LOCAL
 } RecvProtocol;
 
 #if USE_GPGME
 } RecvProtocol;
 
 #if USE_GPGME
@@ -68,6 +67,7 @@ struct _PrefsAccount
        gchar *passwd;
 
        gchar * local_mbox;
        gchar *passwd;
 
        gchar * local_mbox;
+       gboolean use_mail_command;
        gchar * mail_command;
 
        /* Temporarily preserved password */
        gchar * mail_command;
 
        /* Temporarily preserved password */
@@ -79,6 +79,8 @@ struct _PrefsAccount
        gboolean recv_at_getall;
        gboolean filter_on_recv;
 
        gboolean recv_at_getall;
        gboolean filter_on_recv;
 
+       gchar *imap_dir;
+
        /* Send */
        gboolean  add_date;
        gboolean  gen_msgid;
        /* Send */
        gboolean  add_date;
        gboolean  gen_msgid;
@@ -108,6 +110,11 @@ struct _PrefsAccount
        gushort   smtpport;
        gboolean  set_popport;
        gushort   popport;
        gushort   smtpport;
        gboolean  set_popport;
        gushort   popport;
+#if USE_SSL
+       gboolean  pop_ssl;
+#endif
+       gboolean  set_imapport;
+       gushort   imapport;
        gboolean  set_nntpport;
        gushort   nntpport;
        gboolean  set_domain;
        gboolean  set_nntpport;
        gushort   nntpport;
        gboolean  set_domain;