view src/lib/ostream-failure-at.h @ 22638:7d5634889da8

lib: net_ip2addr() - Optimize by allocating destination memory immediately It doesn't really matter if we allocate a few extra bytes.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sat, 04 Nov 2017 01:42:37 +0200
parents 1c7288c054b1
children
line wrap: on
line source

#ifndef OSTREAM_FAILURE_AT_H
#define OSTREAM_FAILURE_AT_H

struct ostream *
o_stream_create_failure_at(struct ostream *output, uoff_t failure_offset,
			   const char *error_string);
struct ostream *
o_stream_create_failure_at_flush(struct ostream *output, const char *error_string);

#endif