summaryrefslogtreecommitdiffstats
path: root/src/lib-test/ostream-final-trickle.h
blob: c97faf9f4a13b5d95ba7c58b8fb1302c40ff8088 (plain)
1
2
3
4
5
6
7
8
9
#ifndef OSTREAM_FINAL_TRICKLE_H
#define OSTREAM_FINAL_TRICKLE_H

/* Creates a wrapper istream that delays sending the final byte until the next
   ioloop run. This can catch bugs where caller doesn't expect the final bytes
   to be delayed. */
struct ostream *o_stream_create_final_trickle(struct ostream *output);

#endif