Mercurial > dovecot > core-2.2
diff src/lib-ssl-iostream/iostream-ssl.h @ 14720:ff479f84022f
lib-ssl-iostream: Added ssl_iostream_destroy() to do a clean SSL shutdown.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 28 Jul 2012 17:32:14 +0300 |
parents | e56409d9615c |
children | 69626d2ce3f0 |
line wrap: on
line diff
--- a/src/lib-ssl-iostream/iostream-ssl.h Sat Jul 28 16:29:22 2012 +0300 +++ b/src/lib-ssl-iostream/iostream-ssl.h Sat Jul 28 17:32:14 2012 +0300 @@ -24,6 +24,8 @@ struct ssl_iostream **iostream_r); /* returned input and output streams must also be unreferenced */ void ssl_iostream_unref(struct ssl_iostream **ssl_io); +/* shutdown SSL connection and unreference ssl iostream */ +void ssl_iostream_destroy(struct ssl_iostream **ssl_io); int ssl_iostream_handshake(struct ssl_iostream *ssl_io); void ssl_iostream_set_handshake_callback(struct ssl_iostream *ssl_io,