diff options
author | Not Zed <NotZed@Ximian.com> | 2003-08-19 10:36:31 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-08-19 10:36:31 +0800 |
commit | dbf631a87d1678374d92254b6ba92089b987c064 (patch) | |
tree | d6b51727b6f6a5fb991e490396de148e52f959b5 /camel/camel-tcp-stream-ssl.h | |
parent | 1b1404afa3555f751ab78cc8e4f84ebf6b52bc2c (diff) | |
download | gsoc2013-evolution-dbf631a87d1678374d92254b6ba92089b987c064.tar.gz gsoc2013-evolution-dbf631a87d1678374d92254b6ba92089b987c064.tar.zst gsoc2013-evolution-dbf631a87d1678374d92254b6ba92089b987c064.zip |
Various fixes to make it work.
2003-08-18 Not Zed <NotZed@Ximian.com>
* camel-http-stream.c: Various fixes to make it work.
* tests/smime/pgp-mime.c (main): added missing 'ret' variable.
* providers/smtp/camel-smtp-transport.c (connect_to_server):
* providers/imapp/camel-imapp-store.c (connect_to_server:
* providers/imap/camel-imap-store.c (connect_to_server):
* providers/pop3/camel-pop3-store.c (connect_to_server):
* camel-http-stream.c (http_connect): change service->session for
tcp_stream_ssl_new.
* camel-tcp-stream-ssl.c: Changed service to session, and fix some
refcounting of it.
include camel-operation.h
svn path=/trunk/; revision=22275
Diffstat (limited to 'camel/camel-tcp-stream-ssl.h')
-rw-r--r-- | camel/camel-tcp-stream-ssl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/camel-tcp-stream-ssl.h b/camel/camel-tcp-stream-ssl.h index a2b6903aeb..d11c2efdcb 100644 --- a/camel/camel-tcp-stream-ssl.h +++ b/camel/camel-tcp-stream-ssl.h @@ -31,13 +31,14 @@ extern "C" { #endif /* __cplusplus */ #include <camel/camel-tcp-stream.h> -#include <camel/camel-service.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)) #define CAMEL_TCP_STREAM_SSL_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_TCP_STREAM_SSL_TYPE, CamelTcpStreamSSLClass)) #define CAMEL_IS_TCP_STREAM_SSL(o) (CAMEL_CHECK_TYPE((o), CAMEL_TCP_STREAM_SSL_TYPE)) +struct _CamelSession; + enum { CAMEL_TCP_STREAM_SSL_ENABLE_SSL2 = (1 << 0), CAMEL_TCP_STREAM_SSL_ENABLE_SSL3 = (1 << 1), @@ -61,9 +62,9 @@ typedef struct { CamelType camel_tcp_stream_ssl_get_type (void); /* public methods */ -CamelStream *camel_tcp_stream_ssl_new (CamelService *service, const char *expected_host, guint32 flags); +CamelStream *camel_tcp_stream_ssl_new (struct _CamelSession *session, const char *expected_host, guint32 flags); -CamelStream *camel_tcp_stream_ssl_new_raw (CamelService *service, const char *expected_host, guint32 flags); +CamelStream *camel_tcp_stream_ssl_new_raw (struct _CamelSession *session, const char *expected_host, guint32 flags); int camel_tcp_stream_ssl_enable_ssl (CamelTcpStreamSSL *ssl); |