summaryrefslogtreecommitdiff
path: root/lib/routemap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/routemap.h')
-rw-r--r--lib/routemap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/routemap.h b/lib/routemap.h
index e8cab64b47..62195b8349 100644
--- a/lib/routemap.h
+++ b/lib/routemap.h
@@ -681,10 +681,8 @@ struct routemap_hook_context {
TAILQ_ENTRY(routemap_hook_context) rhc_entry;
};
-int lib_route_map_entry_match_destroy(enum nb_event event,
- const struct lyd_node *dnode);
-int lib_route_map_entry_set_destroy(enum nb_event event,
- const struct lyd_node *dnode);
+int lib_route_map_entry_match_destroy(struct nb_cb_destroy_args *args);
+int lib_route_map_entry_set_destroy(struct nb_cb_destroy_args *args);
struct routemap_hook_context *
routemap_hook_context_insert(struct route_map_index *rmi);