diff options
| author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:03:14 +0200 |
|---|---|---|
| committer | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:04:07 +0200 |
| commit | d62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch) | |
| tree | 3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /bgpd/rfapi/rfapi_ap.h | |
| parent | 888ac268a0077fc9ebd1218cec6ae472af0bfc40 (diff) | |
*: reindentreindent-master-after
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/rfapi/rfapi_ap.h')
| -rw-r--r-- | bgpd/rfapi/rfapi_ap.h | 48 |
1 files changed, 17 insertions, 31 deletions
diff --git a/bgpd/rfapi/rfapi_ap.h b/bgpd/rfapi/rfapi_ap.h index c875a52e50..56977bd246 100644 --- a/bgpd/rfapi/rfapi_ap.h +++ b/bgpd/rfapi/rfapi_ap.h @@ -1,4 +1,4 @@ -/* +/* * * Copyright 2009-2016, LabN Consulting, L.L.C. * @@ -56,44 +56,30 @@ #include "rfapi_rib.h" -extern void -rfapiApInit (struct rfapi_advertised_prefixes *ap); +extern void rfapiApInit(struct rfapi_advertised_prefixes *ap); -extern void -rfapiApRelease (struct rfapi_advertised_prefixes *ap); - -extern int -rfapiApCount (struct rfapi_descriptor *rfd); +extern void rfapiApRelease(struct rfapi_advertised_prefixes *ap); +extern int rfapiApCount(struct rfapi_descriptor *rfd); -extern int -rfapiApCountAll (struct bgp *bgp); -extern void -rfapiApReadvertiseAll (struct bgp *bgp, struct rfapi_descriptor *rfd); +extern int rfapiApCountAll(struct bgp *bgp); -extern void -rfapiApWithdrawAll (struct bgp *bgp, struct rfapi_descriptor *rfd); +extern void rfapiApReadvertiseAll(struct bgp *bgp, + struct rfapi_descriptor *rfd); -extern int -rfapiApAdd ( - struct bgp *bgp, - struct rfapi_descriptor *rfd, - struct prefix *pfx_ip, - struct prefix *pfx_eth, - struct prefix_rd *prd, - uint32_t lifetime, - uint8_t cost, - struct rfapi_l2address_option *l2o); /* other options TBD */ +extern void rfapiApWithdrawAll(struct bgp *bgp, struct rfapi_descriptor *rfd); extern int -rfapiApDelete ( - struct bgp *bgp, - struct rfapi_descriptor *rfd, - struct prefix *pfx_ip, - struct prefix *pfx_eth, - struct prefix_rd *prd, - int *advertise_tunnel); /* out */ +rfapiApAdd(struct bgp *bgp, struct rfapi_descriptor *rfd, struct prefix *pfx_ip, + struct prefix *pfx_eth, struct prefix_rd *prd, uint32_t lifetime, + uint8_t cost, + struct rfapi_l2address_option *l2o); /* other options TBD */ + +extern int rfapiApDelete(struct bgp *bgp, struct rfapi_descriptor *rfd, + struct prefix *pfx_ip, struct prefix *pfx_eth, + struct prefix_rd *prd, + int *advertise_tunnel); /* out */ #endif /* _QUAGGA_BGP_RFAPI_AP_H */ |
