diff libpurple/sslconn.h @ 20115:a68d51d60177

Create purple_connection_ssl_error(), which converts a PurpleSslErrorType to a PurpleDisconnectReason then calls purple_connection_error_reason().
author Will Thompson <will.thompson@collabora.co.uk>
date Wed, 19 Sep 2007 15:00:48 +0000
parents 6bf32c9e15a7
children f3cfcbbac3d8
line wrap: on
line diff
--- a/libpurple/sslconn.h	Wed Sep 19 11:39:42 2007 +0000
+++ b/libpurple/sslconn.h	Wed Sep 19 15:00:48 2007 +0000
@@ -26,11 +26,6 @@
 #ifndef _PURPLE_SSLCONN_H_
 #define _PURPLE_SSLCONN_H_
 
-#include "certificate.h"
-#include "proxy.h"
-
-#define PURPLE_SSL_DEFAULT_PORT 443
-
 typedef enum
 {
 	PURPLE_SSL_HANDSHAKE_FAILED = 1,
@@ -38,6 +33,11 @@
 	PURPLE_SSL_CERTIFICATE_INVALID = 3
 } PurpleSslErrorType;
 
+#include "certificate.h"
+#include "proxy.h"
+
+#define PURPLE_SSL_DEFAULT_PORT 443
+
 typedef struct _PurpleSslConnection PurpleSslConnection;
 
 typedef void (*PurpleSslInputFunction)(gpointer, PurpleSslConnection *,