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/bgp_vty.h | |
parent | *: add indent control files (diff) | |
download | frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.tar.xz frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.zip |
*: 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/bgp_vty.h')
-rw-r--r-- | bgpd/bgp_vty.h | 58 |
1 files changed, 28 insertions, 30 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h index 62228c64e..62bc27d50 100644 --- a/bgpd/bgp_vty.h +++ b/bgpd/bgp_vty.h @@ -29,47 +29,45 @@ struct bgp; #define BGP_AFI_CMD_STR "<ipv4|ipv6>" #define BGP_AFI_HELP_STR "Address Family\nAddress Family\n" #define BGP_SAFI_CMD_STR "<unicast|multicast|vpn>" -#define BGP_SAFI_HELP_STR \ - "Address Family modifier\n" \ - "Address Family modifier\n" \ - "Address Family modifier\n" +#define BGP_SAFI_HELP_STR \ + "Address Family modifier\n" \ + "Address Family modifier\n" \ + "Address Family modifier\n" #define BGP_AFI_SAFI_CMD_STR BGP_AFI_CMD_STR" "BGP_SAFI_CMD_STR #define BGP_AFI_SAFI_HELP_STR BGP_AFI_HELP_STR BGP_SAFI_HELP_STR #define BGP_SAFI_WITH_LABEL_CMD_STR "<unicast|multicast|vpn|labeled-unicast>" -#define BGP_SAFI_WITH_LABEL_HELP_STR \ - "Address Family modifier\n" \ - "Address Family modifier\n" \ - "Address Family modifier\n" \ - "Address Family modifier\n" +#define BGP_SAFI_WITH_LABEL_HELP_STR \ + "Address Family modifier\n" \ + "Address Family modifier\n" \ + "Address Family modifier\n" \ + "Address Family modifier\n" -extern void bgp_vty_init (void); -extern const char *afi_safi_print (afi_t, safi_t); -extern const char *afi_safi_json (afi_t, safi_t); -extern int bgp_config_write_update_delay (struct vty *, struct bgp *); +extern void bgp_vty_init(void); +extern const char *afi_safi_print(afi_t, safi_t); +extern const char *afi_safi_json(afi_t, safi_t); +extern int bgp_config_write_update_delay(struct vty *, struct bgp *); extern int bgp_config_write_wpkt_quanta(struct vty *vty, struct bgp *bgp); extern int bgp_config_write_listen(struct vty *vty, struct bgp *bgp); extern int bgp_config_write_coalesce_time(struct vty *vty, struct bgp *bgp); -extern int bgp_vty_return (struct vty *vty, int ret); -extern struct peer * -peer_and_group_lookup_vty (struct vty *vty, const char *peer_str); +extern int bgp_vty_return(struct vty *vty, int ret); +extern struct peer *peer_and_group_lookup_vty(struct vty *vty, + const char *peer_str); -extern afi_t -bgp_vty_afi_from_str(const char *afi_str); +extern afi_t bgp_vty_afi_from_str(const char *afi_str); -extern safi_t -bgp_vty_safi_from_str(const char *safi_str); +extern safi_t bgp_vty_safi_from_str(const char *safi_str); -extern int -argv_find_and_parse_afi(struct cmd_token **argv, int argc, int *index, afi_t *afi); +extern int argv_find_and_parse_afi(struct cmd_token **argv, int argc, + int *index, afi_t *afi); -extern int -argv_find_and_parse_safi(struct cmd_token **argv, int argc, int *index, safi_t *safi); +extern int argv_find_and_parse_safi(struct cmd_token **argv, int argc, + int *index, safi_t *safi); -extern int -bgp_vty_find_and_parse_afi_safi_bgp (struct vty *vty, struct cmd_token **argv, int argc, int *idx, - afi_t *afi, safi_t *safi, struct bgp **bgp); -extern int -bgp_show_summary_vty (struct vty *vty, const char *name, - afi_t afi, safi_t safi, u_char use_json); +extern int bgp_vty_find_and_parse_afi_safi_bgp(struct vty *vty, + struct cmd_token **argv, + int argc, int *idx, afi_t *afi, + safi_t *safi, struct bgp **bgp); +extern int bgp_show_summary_vty(struct vty *vty, const char *name, afi_t afi, + safi_t safi, u_char use_json); #endif /* _QUAGGA_BGP_VTY_H */ |