summaryrefslogtreecommitdiffstats
path: root/src/lib/ostream-null.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ostream-null.h')
-rw-r--r--src/lib/ostream-null.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ostream-null.h b/src/lib/ostream-null.h
new file mode 100644
index 0000000..7c83c80
--- /dev/null
+++ b/src/lib/ostream-null.h
@@ -0,0 +1,7 @@
+#ifndef OSTREAM_NULL_H
+#define OSTREAM_NULL_H
+
+/* Create an output stream that ignores all the writes. */
+struct ostream *o_stream_create_null(void);
+
+#endif