]> git.puffer.fish Git - mirror/frr.git/commit
lib: add ringbuf_copy()
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 2 Jan 2018 18:19:40 +0000 (18:19 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 3 Jan 2018 19:04:43 +0000 (14:04 -0500)
commitcb94eaebffb96aded4784fd89221b11f22336c6a
tree29b6275f54f9144b0ced04ef7d701da364419466
parent9bc82f11fbd9d2ebbb1094ff2f83c5b878fad590
lib: add ringbuf_copy()

Quick 'n easy way to copy the contents of one ringbuf to another.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/ringbuf.c
lib/ringbuf.h