Move list_cloners to libifconfig
authorfreqlabs <freqlabs@FreeBSD.org>
Wed, 21 Oct 2020 05:27:25 +0000 (05:27 +0000)
committerfreqlabs <freqlabs@FreeBSD.org>
Wed, 21 Oct 2020 05:27:25 +0000 (05:27 +0000)
commit29989ab4f7d007009ef051f0577e58b3f021b9a4
tree9bbbfc85e95e8dd86327fe32ed239270350df2b4
parentb2a91221764d9240dbbf0e58a9c9ac0d9f1391bb
Move list_cloners to libifconfig

Move list_cloners() from ifconfig(8) to libifconfig(3) where it can be
reused by other consumers.

Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D26858
lib/libifconfig/libifconfig.c
lib/libifconfig/libifconfig.h
sbin/ifconfig/ifclone.c