/*
* 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
#define __SOCKET_H__
#ifdef HAVE_CONFIG_H
-# include "config.h"
+#include "claws-features.h"
#endif
#if (defined (_XOPEN_SOURCE) && !defined (_BSD_SOURCE))
{
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;