summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_aspath.h
diff options
context:
space:
mode:
authorpaul <paul>2006-01-16 12:01:29 +0000
committerpaul <paul>2006-01-16 12:01:29 +0000
commit8fdc32ab9a81cb80296d322346867c8c3d2b2b37 (patch)
treebed62ebe30b81035f9ee9f5f605c1f443ad01c25 /bgpd/bgp_aspath.h
parent02335429e8cf2afc191fd518a3b55564bf6e5b2c (diff)
downloadquagga-8fdc32ab9a81cb80296d322346867c8c3d2b2b37.tar.bz2
quagga-8fdc32ab9a81cb80296d322346867c8c3d2b2b37.tar.xz
[bgpd] add aspath_finish, static resource cleanup function.
2006-01-16 Paul Jakma <paul.jakma@sun.com> * bgp_aspath.c: (aspath_snmp_pathseg) move the static stream pointer out to file scope, so it can be freed. (aspath_finish) new function, free aspath resources. * bgp_aspath.h: (aspath_finish) export.
Diffstat (limited to 'bgpd/bgp_aspath.h')
-rw-r--r--bgpd/bgp_aspath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_aspath.h b/bgpd/bgp_aspath.h
index adf58517..7fa7f20b 100644
--- a/bgpd/bgp_aspath.h
+++ b/bgpd/bgp_aspath.h
@@ -60,6 +60,7 @@ struct aspath
/* Prototypes. */
extern void aspath_init (void);
+extern void aspath_finish (void);
extern struct aspath *aspath_parse (struct stream *, size_t);
extern struct aspath *aspath_dup (struct aspath *);
extern struct aspath *aspath_aggregate (struct aspath *, struct aspath *);