diff options
| author | Mark Stapp <mjs@voltanet.io> | 2018-07-12 16:05:19 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2018-07-23 10:34:35 -0400 | 
| commit | 123214efb82f6348cd80c387be15a1e2e21ce63e (patch) | |
| tree | 9120c8e331acfb05b30eed616f34967fae8b30c0 /lib/plist.h | |
| parent | c4aee4fe3133127f16d3967e74e52b262438d57f (diff) | |
libs, daemons: use const in route-map apply
Use 'const prefix *' in route-map apply apis; led to some
corresponding changes in several daemons.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/plist.h')
| -rw-r--r-- | lib/plist.h | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/plist.h b/lib/plist.h index 67e345a485..fecbe0e2ce 100644 --- a/lib/plist.h +++ b/lib/plist.h @@ -61,8 +61,9 @@ extern struct prefix_list *prefix_list_lookup(afi_t, const char *);   * If it is a empty plist return a NULL pointer.   */  extern enum prefix_list_type -prefix_list_apply_which_prefix(struct prefix_list *plist, struct prefix **which, -			       void *object); +prefix_list_apply_which_prefix(struct prefix_list *plist, +			       const struct prefix **which, +			       const void *object);  #define prefix_list_apply(A, B) prefix_list_apply_which_prefix((A), NULL, (B))  extern struct prefix_list *prefix_bgp_orf_lookup(afi_t, const char *);  | 
