diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-05-12 15:08:12 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-05-12 16:20:28 +0200 |
commit | c99b64ab84f97e4cdd9333e16900c87dbb92c0fa (patch) | |
tree | c6b5de69a44a6ca73ef63bd2da78cde22a95e54a /bgpd/bgp_clist.h | |
parent | bgpd: Align bgp_attr.h to our standards (diff) | |
download | frr-c99b64ab84f97e4cdd9333e16900c87dbb92c0fa.tar.xz frr-c99b64ab84f97e4cdd9333e16900c87dbb92c0fa.zip |
bgpd: Align bgp_clist.h to our standards
bgp_clist.h has function declarations that are
not properly aligned with our standard on how
to do so. Fix.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_clist.h')
-rw-r--r-- | bgpd/bgp_clist.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/bgpd/bgp_clist.h b/bgpd/bgp_clist.h index bb7c1363b..fb8078761 100644 --- a/bgpd/bgp_clist.h +++ b/bgpd/bgp_clist.h @@ -137,7 +137,7 @@ extern struct community_list_handler *bgp_clist; /* Prototypes. */ extern struct community_list_handler *community_list_init(void); -extern void community_list_terminate(struct community_list_handler *); +extern void community_list_terminate(struct community_list_handler *ch); extern int community_list_set(struct community_list_handler *ch, const char *name, const char *str, @@ -160,21 +160,24 @@ extern int lcommunity_list_unset(struct community_list_handler *ch, const char *seq, int direct, int style); extern struct community_list_master * -community_list_master_lookup(struct community_list_handler *, int); +community_list_master_lookup(struct community_list_handler *ch, int master); extern struct community_list * community_list_lookup(struct community_list_handler *c, const char *name, uint32_t name_hash, int master); -extern bool community_list_match(struct community *, struct community_list *); -extern bool ecommunity_list_match(struct ecommunity *, struct community_list *); -extern bool lcommunity_list_match(struct lcommunity *, struct community_list *); -extern bool community_list_exact_match(struct community *, - struct community_list *); +extern bool community_list_match(struct community *com, + struct community_list *list); +extern bool ecommunity_list_match(struct ecommunity *ecom, + struct community_list *list); +extern bool lcommunity_list_match(struct lcommunity *lcom, + struct community_list *list); +extern bool community_list_exact_match(struct community *com, + struct community_list *list); extern bool lcommunity_list_exact_match(struct lcommunity *lcom, struct community_list *list); -extern struct community *community_list_match_delete(struct community *, - struct community_list *); +extern struct community * +community_list_match_delete(struct community *com, struct community_list *list); extern struct lcommunity * lcommunity_list_match_delete(struct lcommunity *lcom, struct community_list *list); |