aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream-ssl.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-15 10:33:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-15 10:33:34 +0800
commitc0686e978da2010088758d28f6042b41a1110b56 (patch)
tree597c93f0a96cd803063dc2ef205c3e284093b60a /camel/camel-tcp-stream-ssl.h
parent013b2e0078b62ce13eb679837cdf6aa1d20ec1d0 (diff)
downloadgsoc2013-evolution-c0686e978da2010088758d28f6042b41a1110b56.tar.gz
gsoc2013-evolution-c0686e978da2010088758d28f6042b41a1110b56.tar.zst
gsoc2013-evolution-c0686e978da2010088758d28f6042b41a1110b56.zip
Pass the service into the SSL stream, not the session.
2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'camel/camel-tcp-stream-ssl.h')
-rw-r--r--camel/camel-tcp-stream-ssl.h8
1 files changed, 4 insertions, 4 deletions
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 <camel/camel-tcp-stream.h>
-#include <camel/camel-session.h>
-#include <mozilla/nspr.h>
+#include <camel/camel-service.h>
+#include <nspr.h>
#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 */