nss: custom parser for loading .leases file
The .leases file is currently loaded using the virLease class, which in turn uses the virJSON parsing code. This pulls in a heap of libvirt code (logging, hash tables, etc) which we do not wish to depend on. This uses the yajl parser code directly, so the only dep is yajl and plain libc functions. Reviewed-by: NMichal Privoznik <mprivozn@redhat.com> Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
Showing
tools/nss/libvirt_nss_leases.c
0 → 100644
tools/nss/libvirt_nss_leases.h
0 → 100644
想要评论请 注册 或 登录