diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-08-27 13:40:22 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-08-27 13:40:22 +0000 |
commit | 3ef2490da39421d623777de3d91abdfc7162812d (patch) | |
tree | d223c75165ce4b000f3dbe4766c1f7e28e947032 /usr.sbin/bgpd/bgpd.h | |
parent | 36a489afd9fb5b4dffa2735851c057039f0426e9 (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.h | 3 |
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 *); |