aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_stream.h')
-rw-r--r--src/input_stream.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input_stream.h b/src/input_stream.h
index 2901f6ea6..7866562ae 100644
--- a/src/input_stream.h
+++ b/src/input_stream.h
@@ -91,6 +91,15 @@ void
input_stream_close(struct input_stream *is);
/**
+ * Check for errors that may have occurred in the I/O thread.
+ *
+ * @return false on error
+ */
+gcc_nonnull(1)
+bool
+input_stream_check(struct input_stream *is, GError **error_r);
+
+/**
* Update the public attributes. Call before accessing attributes
* such as "ready" or "offset".
*/