From c0686e978da2010088758d28f6042b41a1110b56 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 15 Mar 2001 02:33:34 +0000 Subject: Pass the service into the SSL stream, not the session. 2001-03-14 Jeffrey Stedfast * camel-remote-store.c (remote_connect): Pass the service into the SSL stream, not the session. * camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_init): Set the service to NULL. (camel_tcp_stream_ssl_finalize): Unref the service. (camel_tcp_stream_ssl_new): Takes a CamelService arg now rather than a CamelSession arg. svn path=/trunk/; revision=8720 --- camel/camel-tcp-stream-ssl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'camel/camel-tcp-stream-ssl.h') diff --git a/camel/camel-tcp-stream-ssl.h b/camel/camel-tcp-stream-ssl.h index ef4e21126c..883e1cda2a 100644 --- a/camel/camel-tcp-stream-ssl.h +++ b/camel/camel-tcp-stream-ssl.h @@ -34,8 +34,8 @@ extern "C" { #ifdef HAVE_NSS #include -#include -#include +#include +#include #define CAMEL_TCP_STREAM_SSL_TYPE (camel_tcp_stream_ssl_get_type ()) #define CAMEL_TCP_STREAM_SSL(obj) (CAMEL_CHECK_CAST((obj), CAMEL_TCP_STREAM_SSL_TYPE, CamelTcpStreamSSL)) @@ -47,7 +47,7 @@ struct _CamelTcpStreamSSL { PRFileDesc *sockfd; - CamelSession *session; + CamelService *service; char *expected_host; }; @@ -62,7 +62,7 @@ typedef struct { CamelType camel_tcp_stream_ssl_get_type (void); /* public methods */ -CamelStream *camel_tcp_stream_ssl_new (CamelSession *session, const char *expected_host); +CamelStream *camel_tcp_stream_ssl_new (CamelService *service, const char *expected_host); #endif /* HAVE_NSS */ -- cgit v1.2.3