*/
#include "config.h"
+#include <stdbool.h>
#include <stdio.h>
short ConnectTimeout = 0; /**< Config: Timeout for a network connection (for IMAP, POP or SMTP) */
const char *Preconnect = NULL; /**< Config: Shell command to run before making a connection */
const char *Tunnel = NULL; /**< Config: Shell command to establish a tunnel */
#endif
+
+#ifdef USE_SSL
+bool SslUseSslv3;
+bool SslUseTlsv1;
+bool SslUseTlsv11;
+bool SslUseTlsv12;
+bool SslVerifyDates;
+bool SslVerifyHost;
+#endif
#endif
/* These Config Variables are only used in conn/conn_raw.c */
+#ifdef HAVE_GETADDRINFO
extern bool UseIpv6;
+#endif
-/* These Config Variables are only used in conn/ssl_gnutls.c */
+#ifdef USE_SSL
extern bool SslUseSslv3;
extern bool SslUseTlsv1;
extern bool SslUseTlsv11;
extern bool SslUseTlsv12;
extern bool SslVerifyDates;
extern bool SslVerifyHost;
+#endif
#endif /* _CONN_GLOBALS_H */
#include "globals.h"
#include "options.h"
+/* These Config Variables are only used in conn/conn_raw.c */
+#ifdef HAVE_GETADDRINFO
+bool UseIpv6;
+#endif
+
/**
* socket_connect - set up to connect to a socket fd
* @param fd File descriptor to connect with
#include "protos.h"
#include "socket.h"
-/* These Config Variables are only used in conn/ssl_gnutls.c */
-bool SslUseSslv3;
-bool SslUseTlsv1;
-bool SslUseTlsv11;
-bool SslUseTlsv12;
-bool SslVerifyDates;
-bool SslVerifyHost;
-
/* certificate error bitmap values */
#define CERTERR_VALID 0
#define CERTERR_EXPIRED 1
WHERE bool SslUsesystemcerts;
WHERE bool SslUseSslv2;
#endif /* USE_SSL_GNUTLS */
-WHERE bool SslUseSslv3;
-WHERE bool SslUseTlsv1;
-WHERE bool SslUseTlsv11;
-WHERE bool SslUseTlsv12;
WHERE bool SslForceTls;
-WHERE bool SslVerifyDates;
-WHERE bool SslVerifyHost;
#if defined(USE_SSL_OPENSSL) && defined(HAVE_SSL_PARTIAL_CHAIN)
WHERE bool SslVerifyPartialChains;
#endif /* USE_SSL_OPENSSL */
WHERE bool ReadOnly;
WHERE bool Resolve;
WHERE bool ResumeDraftFiles;
-WHERE bool ResumeEditedDraftFiles;
WHERE bool SaveAddress;
WHERE bool SaveEmpty;
WHERE bool Score;
WHERE bool TextFlowed;
WHERE bool TsEnabled;
WHERE bool UseDomain;
-#ifdef HAVE_GETADDRINFO
-WHERE bool UseIpv6;
-#endif
WHERE bool WaitKey;
WHERE bool WrapSearch;
WHERE bool WriteBcc; /**< write out a bcc header? */
#include "imap/imap.h"
#include "keymap.h"
#include "maildir/maildir.h"
+#include "main.h"
#include "menu.h"
#include "mutt_account.h"
#include "mutt_commands.h"
#include "nntp/nntp.h"
#endif
+/* These Config Variables are only used in main.c */
+bool ResumeEditedDraftFiles;
+
#define MUTT_IGNORE (1 << 0) /* -z */
#define MUTT_BUFFY (1 << 1) /* -Z */
#define MUTT_NOSYSRC (1 << 2) /* -n */