diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-11 12:35:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-11 12:35:20 +0800 |
commit | 6da96db8dd1fc783a025fb1db9ecf46430f744d6 (patch) | |
tree | 4705506d13b5c4492c650ab8d49a5a05a7a619b4 /camel/camel-tcp-stream-ssl.h | |
parent | 21a546759f43127acc297d0277e4c6d8b1d67245 (diff) | |
download | gsoc2013-evolution-6da96db8dd1fc783a025fb1db9ecf46430f744d6.tar gsoc2013-evolution-6da96db8dd1fc783a025fb1db9ecf46430f744d6.tar.gz gsoc2013-evolution-6da96db8dd1fc783a025fb1db9ecf46430f744d6.tar.bz2 gsoc2013-evolution-6da96db8dd1fc783a025fb1db9ecf46430f744d6.tar.lz gsoc2013-evolution-6da96db8dd1fc783a025fb1db9ecf46430f744d6.tar.xz gsoc2013-evolution-6da96db8dd1fc783a025fb1db9ecf46430f744d6.tar.zst gsoc2013-evolution-6da96db8dd1fc783a025fb1db9ecf46430f744d6.zip |
Comment out everything unless HAVE_NSS is defined.
2001-03-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-ssl.h: Comment out everything unless HAVE_NSS
is defined.
* camel-tcp-stream-ssl.c (stream_read): Don't use errno, use
nspr's error code stuff.
(stream_write): Same.
svn path=/trunk/; revision=8626
Diffstat (limited to 'camel/camel-tcp-stream-ssl.h')
-rw-r--r-- | camel/camel-tcp-stream-ssl.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/camel/camel-tcp-stream-ssl.h b/camel/camel-tcp-stream-ssl.h index de6eb1a8bc..ef4e21126c 100644 --- a/camel/camel-tcp-stream-ssl.h +++ b/camel/camel-tcp-stream-ssl.h @@ -30,17 +30,19 @@ extern "C" { #pragma } #endif /* __cplusplus */ +#include <config.h> + +#ifdef HAVE_NSS #include <camel/camel-tcp-stream.h> #include <camel/camel-session.h> -#include <nspr.h> +#include <mozilla/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)) #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 _CamelTcpStreamSSL -{ +struct _CamelTcpStreamSSL { CamelTcpStream parent_object; PRFileDesc *sockfd; @@ -62,6 +64,8 @@ CamelType camel_tcp_stream_ssl_get_type (void); /* public methods */ CamelStream *camel_tcp_stream_ssl_new (CamelSession *session, const char *expected_host); +#endif /* HAVE_NSS */ + #ifdef __cplusplus } #endif /* __cplusplus */ |