summaryrefslogtreecommitdiffstats
path: root/src/lib/istream-failure-at.h
blob: 2ba05d5c823cf3ea8a1de3166f3b751c0fc8ab91 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef ISTREAM_FAILURE_AT_H
#define ISTREAM_FAILURE_AT_H

struct istream *
i_stream_create_failure_at(struct istream *input, uoff_t failure_offset,
			   int stream_errno, const char *error_string);
struct istream *
i_stream_create_failure_at_eof(struct istream *input, int stream_errno,
			       const char *error_string);

#endif