]> git.ipfire.org Git - people/ms/libloc.git/commit
writer: Cleanup networks before writing
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Jul 2023 16:33:49 +0000 (16:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Jul 2023 16:34:59 +0000 (16:34 +0000)
commitf6c6b8d62695736fc9d88fa2c98bb7c26283fca3
tree32dbd708356d8c05790df402c5d608d849c0676d
parentd01c363bcb7b29b386c183ed503351e8d727ba6a
writer: Cleanup networks before writing

This patch will add a function that will search the tree for duplicate
entries which are not needed and remove them.

Afterwards, any unused nodes will be deleted.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libloc/country.h
src/libloc/network.h
src/network.c
src/writer.c