History log of /dovecot/src/lib/iostream-private.h
Revision Date Author Comments Expand
b3b813a6473d1210eee94bd60eaa6bafd2131ed3 30-Jan-2018 Stephan Bosch <stephan.bosch@dovecot.fi>

lib: iostream: Record the ioloop that the iostream was last switched to.

5a1b498b646b5c5dbd1b3f3861df766f560578c5 21-Apr-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: When istream is destroyed, it now always unrefs the parent istream if it exists. This way the implementations don't have to do it themselves in their destroy() function. This change doesn't necessarily require changing the existing code, because if the istream implementation already unrefs the parent it gets set to NULL so the auto-unref won't be done.

b554101f70e3f16380903c9a4ee87a2c96c1d322 23-Aug-2015 Timo Sirainen <tss@iki.fi>

lib: Added io_stream_get_disconnect_reason() to iostream.h

eb98a038ca8b0ef33d1d11794803ce09547496fa 17-Jan-2015 Timo Sirainen <tss@iki.fi>

lib: Added o_stream_add_destroy_callback()

f4735bf7ec2019fdc730e9ebdb39e5a4ea580405 22-Sep-2013 Timo Sirainen <tss@iki.fi>

lib: Added [io]_stream_create_error_str()

862ec874f9373e3e499e237d3b9f71fdf1413fee 19-Sep-2013 Timo Sirainen <tss@iki.fi>

iostream: Added ability to set/get error strings for streams.

1a0ece3e873e3864269ed7eaed957dc10c56d25f 07-Apr-2013 Timo Sirainen <tss@iki.fi>

istream API change: Added support for multiple destroy callbacks.

e2ce8d4a6ac5d82a906178148453e7613fab9ba0 13-Mar-2013 Timo Sirainen <tss@iki.fi>

iostreams: Added close_parent flag to close() handler and clarified close/destroy APIs. This makes it unambiguous how things work: Unless you explicitly call [io]_stream_close(), the parent streams won't be closed. This is what most (hopefully all!) of the existing code expects. I was wondering a bit if [io]_stream_destroy() should simply have been removed and replaced with [io]_stream_unref() calls, since they would have worked basically everywhere, but there might be some places where it's better to have explicitly closed the stream (and where closing the parent stream doesn't matter).

0536ccb51d41e3078c3a9fa33e509fb4b2420f95 21-Sep-2011 Timo Sirainen <tss@iki.fi>

Renamed lib/*-internal.h files to lib/*-private.h for consistency.

/dovecot/src/lib-fs/ostream-cmp.c /dovecot/src/lib-mail/istream-dot.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-ssl-iostream/istream-openssl.c /dovecot/src/lib-ssl-iostream/ostream-openssl.c /dovecot/src/lib-storage/index/istream-attachment.c /dovecot/src/lib-storage/index/istream-mail-stats.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-test/test-common.c Makefile.am ioloop-epoll.c ioloop-iolist.c ioloop-kqueue.c ioloop-notify-dn.c ioloop-notify-fd.c ioloop-notify-inotify.c ioloop-notify-kqueue.c ioloop-notify-none.c ioloop-poll.c ioloop-private.h ioloop-select.c ioloop.c iostream-private.h iostream.c istream-base64-encoder.c istream-concat.c istream-crlf.c istream-data.c istream-file.c istream-limit.c istream-mmap.c istream-private.h istream-seekable.c istream-tee.c istream.c ostream-buffer.c ostream-file.c ostream-private.h ostream.c test-istream-base64-encoder.c test-istream-concat.c test-istream-crlf.c test-istream-seekable.c test-istream-tee.c /dovecot/src/plugins/zlib/istream-bzlib.c /dovecot/src/plugins/zlib/istream-zlib.c /dovecot/src/plugins/zlib/ostream-bzlib.c /dovecot/src/plugins/zlib/ostream-zlib.c