summaryrefslogtreecommitdiffstats
path: root/src/lib-mail/istream-nonuls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib-mail/istream-nonuls.h')
-rw-r--r--src/lib-mail/istream-nonuls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib-mail/istream-nonuls.h b/src/lib-mail/istream-nonuls.h
new file mode 100644
index 0000000..73dd4c5
--- /dev/null
+++ b/src/lib-mail/istream-nonuls.h
@@ -0,0 +1,7 @@
+#ifndef ISTREAM_NONULS_H
+#define ISTREAM_NONULS_H
+
+/* Translate all NUL characters to the specified replace_chr. */
+struct istream *i_stream_create_nonuls(struct istream *input, char replace_chr);
+
+#endif