]> git.puffer.fish Git - mirror/frr.git/commit
lib: Add stream_resize_orig and stream_resize_inplace
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 22 Aug 2018 00:06:27 +0000 (20:06 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 22 Aug 2018 11:58:54 +0000 (07:58 -0400)
commit4388866917c8766832346c6fddceb86ec7e34a19
tree5a81b13c0a490110efb642508259b8f35dec8e44
parentdca5ef30533ab2a7a5573f065537e7a05067bec7
lib: Add stream_resize_orig and stream_resize_inplace

Start setup for handling of stream_resize into old
and new functions.

Create a stream_resize_inplace function that takes
a double pointer to allow for a realloc operation
to return the possibly moved pointer.

Add a CONFDATE for removal as well.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/stream.c
lib/stream.h