summaryrefslogtreecommitdiffstats
path: root/src/lib/ostream-failure-at.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ostream-failure-at.h')
-rw-r--r--src/lib/ostream-failure-at.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/ostream-failure-at.h b/src/lib/ostream-failure-at.h
new file mode 100644
index 0000000..61e1d72
--- /dev/null
+++ b/src/lib/ostream-failure-at.h
@@ -0,0 +1,10 @@
+#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