output: add mustach templating support

Based on José Bollo's mustache C implementation.  This adaptation uses
project specific data structures to avoid overhead with json parsing.

Reference: https://gitlab.com/jobol/mustach.git
Commit: d84608a69033d38c81b8fcff0cb272e225dd5428
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-11-09 09:49:26 +00:00
parent fe847bb9b1
commit 7d9a5b5561
No known key found for this signature in database
GPG key ID: A9553245FDE9B739
9 changed files with 741 additions and 6 deletions

View file

@ -13,6 +13,9 @@ dhcpd_pools_SOURCES = \
src/dhcpd-pools.h \
src/getdata.c \
src/hash.c \
src/mustach-dhcpd-pools.c \
src/mustach.c \
src/mustach.h \
src/other.c \
src/output.c \
src/sort.c