Remove useless cruft from OpenSSL days
[claws.git] / src / common / socket.h
index 013b11a837c53348702e63069693638c461c8c64..cee9d138963eb9531a65ad3b9891a9674b0c178b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2007 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
  *
  * 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
@@ -21,7 +21,7 @@
 #define __SOCKET_H__
 
 #ifdef HAVE_CONFIG_H
-#  include "config.h"
+#include "claws-features.h"
 #endif
 
 #if (defined (_XOPEN_SOURCE) && !defined (_BSD_SOURCE))
@@ -59,12 +59,12 @@ struct _SockInfo
 {
        gint sock;
 #if USE_GNUTLS
-       gnutls_session ssl;
+       gnutls_session_t ssl;
        gnutls_certificate_credentials_t xcred;
-       gnutls_x509_crt client_crt;
-       gnutls_x509_privkey client_key;
+       gnutls_x509_crt_t client_crt;
+       gnutls_x509_privkey_t client_key;
+       gchar *gnutls_priority;
 #endif
-       guint g_source;
        GIOChannel *sock_ch;
 
        gchar *hostname;