summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-01-04 12:50:19 -0500
committerMark Stapp <mjs@voltanet.io>2021-01-19 08:48:54 -0500
commit5898ce6f35e1a2fa58fcae1dea5fb1eb808d44cf (patch)
tree36675c1803b88f415087a439f8278079af1837be /lib/zclient.h
parentc0b6ef23f74ef05f6a7550b78590e31605e7f90f (diff)
libs,zebra: remove zapi nhg encode and decode public apis
The raw zapi apis to encode and decode NHGs don't need to be public; also add a little more validity-checking. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 57bad7c2e6..cf52ea91a0 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -1021,9 +1021,7 @@ bool zapi_ipset_notify_decode(struct stream *s,
uint32_t *unique,
enum zapi_ipset_notify_owner *note);
-
-extern int zapi_nhg_encode(struct stream *s, int cmd, struct zapi_nhg *api_nhg);
-extern int zapi_nhg_decode(struct stream *s, int cmd, struct zapi_nhg *api_nhg);
+/* Nexthop-group message apis */
extern enum zclient_send_status
zclient_nhg_send(struct zclient *zclient, int cmd, struct zapi_nhg *api_nhg);