added SSL support for POP using OpenSSL
[claws.git] / src / main.h
index d365cc6680eb0712f5041d877faddd93d5a6326f..dffb2912606a69b1c76803fcccdb175559665ec1 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * 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
 #include <glib.h>
 #include <gtk/gtkwidget.h>
 
+#ifdef USE_SSL
+#include <openssl/crypto.h>
+#include <openssl/x509.h>
+#include <openssl/pem.h>
+#include <openssl/ssl.h>
+#include <openssl/err.h>
+#endif
+
 extern gchar *prog_version;
 extern gchar *startup_dir;
 extern gboolean debug_mode;
 
+#ifdef USE_SSL
+extern SSL_CTX *ssl_ctx;
+#endif
+
 void app_will_exit     (GtkWidget *widget, gpointer data);
 
 #endif /* __MAIN_H__ */