aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-17 07:02:04 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-17 07:02:04 +0800
commita9df5de4af55791e4d4aeb3533bcc715e28c1512 (patch)
tree0b9faa4b152a9c3589226000c9e4fb01620f3225 /camel/camel-tcp-stream.h
parent13afe783505cb99b902ec4b29c46fb14ec8006f0 (diff)
downloadgsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.tar.gz
gsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.tar.zst
gsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.zip
Print info about the issuer of the certificate.
2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (ssl_bad_cert): Print info about the issuer of the certificate. * providers/smtp/camel-smtp-transport.c (smtp_connect): Use camel_tcp_stream_get_socket(). * camel-tcp-stream-openssl.c (stream_get_socket): Implemented. * camel-tcp-stream-ssl.c (stream_get_socket): Implemented. * camel-tcp-stream-raw.c (stream_get_socket): Implemented. * camel-tcp-stream.c (camel_tcp_stream_get_socket): New function. svn path=/trunk/; revision=8764
Diffstat (limited to 'camel/camel-tcp-stream.h')
-rw-r--r--camel/camel-tcp-stream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-tcp-stream.h b/camel/camel-tcp-stream.h
index 79d3f90f08..68153d3734 100644
--- a/camel/camel-tcp-stream.h
+++ b/camel/camel-tcp-stream.h
@@ -100,7 +100,8 @@ typedef struct {
int (*connect) (CamelTcpStream *stream, struct hostent *host, int port);
int (*getsockopt) (CamelTcpStream *stream, CamelSockOptData *data);
int (*setsockopt) (CamelTcpStream *stream, const CamelSockOptData *data);
-
+
+ gpointer (*get_socket) (CamelTcpStream *stream);
} CamelTcpStreamClass;
/* Standard Camel function */
@@ -111,6 +112,8 @@ int camel_tcp_stream_connect (CamelTcpStream *stream, struct hostent
int camel_tcp_stream_getsockopt (CamelTcpStream *stream, CamelSockOptData *data);
int camel_tcp_stream_setsockopt (CamelTcpStream *stream, const CamelSockOptData *data);
+gpointer camel_tcp_stream_get_socket (CamelTcpStream *stream);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */