summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-08-27 22:03:37 +0200
committerMark Stapp <mjs@voltanet.io>2018-10-25 14:57:04 +0200
commit4dfd7a021dc798ee0cb23fee7987788477f042d8 (patch)
tree4ed10aba6789e3befa2e2af3c46205a831121c6f /zebra/zserv.h
parentzebra: add handy res2str utility (diff)
downloadfrr-4dfd7a021dc798ee0cb23fee7987788477f042d8.tar.xz
frr-4dfd7a021dc798ee0cb23fee7987788477f042d8.zip
zebra: support zebra shutdown and cleanup
Dplane support for zebra's route cleanup during shutdown (clean shutdown via SIGINT, anyway.) The dplane has the opportunity to process incoming updates, and then triggers final cleanup in zebra's main thread. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index aaefd78ee..987c67635 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -251,4 +251,7 @@ extern void zserv_close_client(struct zserv *client);
extern void zserv_read_file(char *input);
#endif
+/* TODO */
+int zebra_finalize(struct thread *event);
+
#endif /* _ZEBRA_ZEBRA_H */