summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-07-21 17:50:17 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-01-18 00:20:52 +0100
commit8ed6821e60c0a28990987e2cc67daead158795d4 (patch)
tree928e055e6d3b358857df93621618430b2fc29f4e /zebra/zserv.h
parentMerge pull request #59 from donaldsharp/cli_cleanup (diff)
downloadfrr-8ed6821e60c0a28990987e2cc67daead158795d4.tar.xz
frr-8ed6821e60c0a28990987e2cc67daead158795d4.zip
zebra: API to locate client structure based on protocol
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: Reviewed By: CCR-4968 Testing Done: Tested with subsequent patch(es)
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index a0434d299..d17a28eb6 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -176,4 +176,6 @@ extern void zserv_create_header(struct stream *s, uint16_t cmd, vrf_id_t vrf_id)
extern void zserv_nexthop_num_warn(const char *, const struct prefix *, const unsigned int);
extern int zebra_server_send_message(struct zserv *client);
+extern struct zserv *zebra_find_client (u_char proto);
+
#endif /* _ZEBRA_ZEBRA_H */