summaryrefslogtreecommitdiff
path: root/lib/srv6.h
diff options
context:
space:
mode:
authorYamato Sugawara <yamato.sugawara@linecorp.com>2021-10-26 12:21:20 +0000
committerYamato Sugawara <yamato.sugawara@linecorp.com>2021-11-28 23:53:41 +0000
commit559f4b2f2a46823be670cb46f1cd17f56f5f3675 (patch)
tree94796e9cef1c06bd971ca5c840c13176404185a8 /lib/srv6.h
parentc786485164de9e75675c32ad1c1f406169637b0f (diff)
zebra: Add support for json output in srv6 locator detail command
Signed-off-by: Yamato Sugawara <yamato.sugawara@linecorp.com>
Diffstat (limited to 'lib/srv6.h')
-rw-r--r--lib/srv6.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/srv6.h b/lib/srv6.h
index 715fc3723b..e0db30cd13 100644
--- a/lib/srv6.h
+++ b/lib/srv6.h
@@ -189,6 +189,9 @@ extern void srv6_locator_free(struct srv6_locator *locator);
extern void srv6_locator_chunk_free(struct srv6_locator_chunk *chunk);
json_object *srv6_locator_chunk_json(const struct srv6_locator_chunk *chunk);
json_object *srv6_locator_json(const struct srv6_locator *loc);
+json_object *srv6_locator_detailed_json(const struct srv6_locator *loc);
+json_object *
+srv6_locator_chunk_detailed_json(const struct srv6_locator_chunk *chunk);
#ifdef __cplusplus
}