diff options
context:
space:
mode:
Diffstat (limited to 'source/filter.h')
-rw-r--r--source/filter.h6
1 file changed, 6 insertions, 0 deletions
diff --git a/source/filter.h b/source/filter.h
index b5a478f..70fa4ff 100644
--- a/source/filter.h
+++ b/source/filter.h
@@ -59,4 +59,10 @@ extern void cgit_cleanup_filters(void);
*/
extern void cgit_abort_filters(void);
+/*
+ * Whether an exec filter holds stdout at the moment, which is when a failed
+ * write means the filter went away rather than the client.
+ */
+extern int cgit_filter_holds_stdout(void);
+
#endif // CGIT_FILTER_H