mactime: add the "mactime.json" builtin URL 21/22721/2
authorDave Barach <dave@barachs.net>
Mon, 14 Oct 2019 15:26:15 +0000 (11:26 -0400)
committerDamjan Marion <dmarion@me.com>
Mon, 14 Oct 2019 22:42:49 +0000 (22:42 +0000)
commitef3c11ca93b651611af33ab3e5d64217504d221d
treebbfcd40ab4fd6e884b6f9bf2b2deea7038aa52de
parent8d829f6c480cdd6536537fc49356baa1878b9570
mactime: add the "mactime.json" builtin URL

If the http static server plugin is enabled, register the name
"mactime.json" with the server. Visiting <web-root>/mactime.json
produces a json brain-dump of the mactime table.

Type: feature

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ie39b0c776675864a85251b8c07fbf719d399f6de
src/plugins/mactime/CMakeLists.txt
src/plugins/mactime/builtins.c [new file with mode: 0644]
src/plugins/mactime/mactime.c
src/plugins/mactime/mactime.h
src/plugins/mactime/mactime_test.c