From 94f2b3923e9663d0355a829f22e4e31cf68ee7b8 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 28 Jun 2005 12:44:16 +0000 Subject: 2005-06-28 Paul Jakma * (global) The great bgpd extern and static'ification. * bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code (route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison warnings. * bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these used by various files which had their own private declarations, in the case of mplsvpn - incorrect. --- bgpd/bgp_damp.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'bgpd/bgp_damp.h') diff --git a/bgpd/bgp_damp.h b/bgpd/bgp_damp.h index 1aa25083e..37ed90bc6 100644 --- a/bgpd/bgp_damp.h +++ b/bgpd/bgp_damp.h @@ -129,19 +129,19 @@ struct bgp_damp_config #define REUSE_LIST_SIZE 256 #define REUSE_ARRAY_SIZE 1024 -int bgp_damp_enable (struct bgp *, afi_t, safi_t, time_t, unsigned int, +extern int bgp_damp_enable (struct bgp *, afi_t, safi_t, time_t, unsigned int, unsigned int, time_t); -int bgp_damp_disable (struct bgp *, afi_t, safi_t); -int bgp_damp_withdraw (struct bgp_info *, struct bgp_node *, +extern int bgp_damp_disable (struct bgp *, afi_t, safi_t); +extern int bgp_damp_withdraw (struct bgp_info *, struct bgp_node *, afi_t, safi_t, int); -int bgp_damp_update (struct bgp_info *, struct bgp_node *, afi_t, safi_t); -int bgp_damp_scan (struct bgp_info *, afi_t, safi_t); -void bgp_damp_info_free (struct bgp_damp_info *, int); -void bgp_damp_info_clean (); -char * bgp_get_reuse_time (unsigned int, char*, size_t); -int bgp_damp_decay (time_t, int); -int bgp_config_write_damp (struct vty *); -void bgp_damp_info_vty (struct vty *, struct bgp_info *); -char * bgp_damp_reuse_time_vty (struct vty *, struct bgp_info *); +extern int bgp_damp_update (struct bgp_info *, struct bgp_node *, afi_t, safi_t); +extern int bgp_damp_scan (struct bgp_info *, afi_t, safi_t); +extern void bgp_damp_info_free (struct bgp_damp_info *, int); +extern void bgp_damp_info_clean (void); +extern char * bgp_get_reuse_time (unsigned int, char*, size_t); +extern int bgp_damp_decay (time_t, int); +extern int bgp_config_write_damp (struct vty *); +extern void bgp_damp_info_vty (struct vty *, struct bgp_info *); +extern char * bgp_damp_reuse_time_vty (struct vty *, struct bgp_info *); #endif /* _QUAGGA_BGP_DAMP_H */ -- cgit v1.2.3