summaryrefslogtreecommitdiffstats
path: root/lib/table.h
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2017-01-18 23:46:43 +0100
committerChristian Franke <chris@opensourcerouting.org>2017-01-30 13:54:46 +0100
commita27428eb7164b47b6b227e1be16a87d6e84c551b (patch)
treed23c064efc947d27b6f21e97d56a5b91fccb0693 /lib/table.h
parenttests: add a test for the srcdest_table structure (diff)
downloadfrr-a27428eb7164b47b6b227e1be16a87d6e84c551b.tar.xz
frr-a27428eb7164b47b6b227e1be16a87d6e84c551b.zip
lib: add cleanup hook to route table
Diffstat (limited to 'lib/table.h')
-rw-r--r--lib/table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/table.h b/lib/table.h
index 6997b6bdd..1691a8e20 100644
--- a/lib/table.h
+++ b/lib/table.h
@@ -62,6 +62,7 @@ struct route_table
* Delegate that performs certain functions for this table.
*/
route_table_delegate_t *delegate;
+ void (*cleanup)(struct route_table *, struct route_node *);
unsigned long count;