[MINOR] new function stream_int_cond_close()
This one will be used to conditionally send a message upon a
close on a stream interface. It will not overwrite any existing
data.
diff --git a/include/proto/stream_interface.h b/include/proto/stream_interface.h
index 4e7f734..e63e136 100644
--- a/include/proto/stream_interface.h
+++ b/include/proto/stream_interface.h
@@ -32,6 +32,7 @@
int stream_int_check_timeouts(struct stream_interface *si);
void stream_int_report_error(struct stream_interface *si);
void stream_int_retnclose(struct stream_interface *si, const struct chunk *msg);
+void stream_int_cond_close(struct stream_interface *si, const struct chunk *msg);
/* functions used when running a stream interface as a task */
void stream_int_update(struct stream_interface *si);