summaryrefslogtreecommitdiff
path: root/lib/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stream.h')
-rw-r--r--lib/stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stream.h b/lib/stream.h
index c6ef3c81..f7a94ea3 100644
--- a/lib/stream.h
+++ b/lib/stream.h
@@ -23,6 +23,8 @@
#ifndef _ZEBRA_STREAM_H
#define _ZEBRA_STREAM_H
+#include "prefix.h"
+
/* Stream buffer. */
struct stream
{
@@ -82,6 +84,7 @@ int stream_putl (struct stream *, u_int32_t);
int stream_putl_at (struct stream *, unsigned long, u_int32_t);
int stream_put_ipv4 (struct stream *, u_int32_t);
int stream_put_in_addr (struct stream *, struct in_addr *);
+int stream_put_prefix (struct stream *, struct prefix *);
void stream_get (void *, struct stream *, size_t);
u_char stream_getc (struct stream *);