]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-test: test-ostream - Implement the new ostream.get_buffer_used_size() API
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 8 Mar 2018 12:08:50 +0000 (14:08 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 13 Mar 2018 07:17:05 +0000 (09:17 +0200)
commit1ea0f535f046edb77036cfbda8e165cd7b15be97
tree9cd7847bd00151c9c9c8ec036e230fe062f48783
parentf6a49ec42f0996aa64c9bb11ff9f03552cc0b30f
lib-test: test-ostream - Implement the new ostream.get_buffer_used_size() API

It's implemented the same way as the old get_used_size(). The default
implementation for get_buffer_avail_size() also works with this.
src/lib-test/test-ostream.c