summaryrefslogtreecommitdiff
path: root/lib/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stream.c')
-rw-r--r--lib/stream.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/stream.c b/lib/stream.c
index 683a130e44..fcfbc78e3d 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -1122,6 +1122,11 @@ int stream_flush(struct stream *s, int fd)
return nbytes;
}
+void stream_hexdump(const struct stream *s)
+{
+ zlog_hexdump(s->data, s->endp);
+}
+
/* Stream first in first out queue. */
struct stream_fifo *stream_fifo_new(void)