util: Add file tree walk interface
authorAndreas Schneider <asn@samba.org>
Mon, 10 Sep 2018 13:20:03 +0000 (15:20 +0200)
committerBjoern Jacke <bjacke@samba.org>
Mon, 28 Jan 2019 14:44:18 +0000 (15:44 +0100)
commit7abf1d03394fb7a97b2f8ca58c95ab1916c7583f
tree79e0a5626aad1209c1d4b4f54c33ac1261400049
parent5e97d3cda81628de8d23237d2f7d4ead55c729f6
util: Add file tree walk interface

Add tftw() utility to emulate nftw() behavior with a userdata pointer.
This is repurposed from the csync project custom file tree walker.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
lib/util/tftw.c [new file with mode: 0644]
lib/util/tftw.h [new file with mode: 0644]
lib/util/wscript_build