summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-08-27 13:40:22 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-08-27 13:40:22 +0000
commit3ef2490da39421d623777de3d91abdfc7162812d (patch)
treed223c75165ce4b000f3dbe4766c1f7e28e947032 /usr.sbin/bgpd/bgpd.h
parent36a489afd9fb5b4dffa2735851c057039f0426e9 (diff)
add buf_grow() to grow an existing buffer (realloc), claudio ok
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 38d719cf7d8..b860d8390cd 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.206 2006/08/23 08:13:04 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.207 2006/08/27 13:40:21 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -689,6 +689,7 @@ int bgpd_filternexthop(struct kroute *, struct kroute6 *);
/* buffer.c */
struct buf *buf_open(size_t);
+struct buf *buf_grow(struct buf *, size_t);
int buf_add(struct buf *, const void *, size_t);
void *buf_reserve(struct buf *, size_t);
int buf_close(struct msgbuf *, struct buf *);