aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mactime/mactime.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-10-14 11:26:15 -0400
committerDamjan Marion <dmarion@me.com>2019-10-14 22:42:49 +0000
commitef3c11ca93b651611af33ab3e5d64217504d221d (patch)
treebbfcd40ab4fd6e884b6f9bf2b2deea7038aa52de /src/plugins/mactime/mactime.h
parent8d829f6c480cdd6536537fc49356baa1878b9570 (diff)
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
Diffstat (limited to 'src/plugins/mactime/mactime.h')
-rw-r--r--src/plugins/mactime/mactime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/mactime/mactime.h b/src/plugins/mactime/mactime.h
index 2ce1cf97c72..61160f87fd0 100644
--- a/src/plugins/mactime/mactime.h
+++ b/src/plugins/mactime/mactime.h
@@ -89,6 +89,7 @@ extern vlib_node_registration_t mactime_node;
extern vlib_node_registration_t mactime_tx_node;
void mactime_send_create_entry_message (u8 * mac_address);
+void mactime_url_init (vlib_main_t * vm);
/* Periodic function events */
#define MACTIME_EVENT1 1