diff options
| author | Mark Stapp <mjs@voltanet.io> | 2018-07-10 16:02:03 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2018-07-11 09:22:49 -0400 |
| commit | 86391e565937db3c4d08436ffa0edaa02ace50eb (patch) | |
| tree | df5f0971da7b96ccf3d003b63cf8c23968f307e7 /zebra/redistribute.h | |
| parent | 01d38683b9632c24111ec266ec0299f77829f0d3 (diff) | |
zebra, libs: use const prefix ptrs in apis
Add 'const' to prefix args to several zebra route update,
redistribution, and route owner notification apis.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/redistribute.h')
| -rw-r--r-- | zebra/redistribute.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zebra/redistribute.h b/zebra/redistribute.h index 9b4820acd4..a0fbd13cf9 100644 --- a/zebra/redistribute.h +++ b/zebra/redistribute.h @@ -36,9 +36,11 @@ extern void zebra_redistribute_default_add(ZAPI_HANDLER_ARGS); extern void zebra_redistribute_default_delete(ZAPI_HANDLER_ARGS); /* ----------------- */ -extern void redistribute_update(struct prefix *, struct prefix *, +extern void redistribute_update(const struct prefix *p, + const struct prefix *src_p, struct route_entry *, struct route_entry *); -extern void redistribute_delete(struct prefix *, struct prefix *, +extern void redistribute_delete(const struct prefix *p, + const struct prefix *src_p, struct route_entry *); extern void zebra_interface_up_update(struct interface *); |
