summaryrefslogtreecommitdiff
path: root/lib/json.h
diff options
context:
space:
mode:
authorPatrick Ruddy <pat@voltanet.io>2020-10-27 16:09:45 +0000
committerGitHub <noreply@github.com>2020-10-27 16:09:45 +0000
commitdd511712271ae352b25288ecab318f885ade00d6 (patch)
tree5e87dda80e297960a309fe9f398e42920704a182 /lib/json.h
parentaa9d75efafa7e6a5271883db184fc4239f630b7f (diff)
parentec779825f897f8a6a6daf521c1f2f4ba6454d03d (diff)
Merge pull request #7158 from AnuradhaKaruppiah/mh-df-election
evpn-mh: support for DF election
Diffstat (limited to 'lib/json.h')
-rw-r--r--lib/json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/json.h b/lib/json.h
index afe0b175da..fe208f4fa9 100644
--- a/lib/json.h
+++ b/lib/json.h
@@ -57,6 +57,7 @@ extern void json_object_boolean_true_add(struct json_object *obj,
const char *key);
extern struct json_object *json_object_lock(struct json_object *obj);
extern void json_object_free(struct json_object *obj);
+extern void json_array_string_add(json_object *json, const char *str);
#define JSON_STR "JavaScript Object Notation\n"