summaryrefslogtreecommitdiffstats
path: root/ldpd/ldpe.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-03-30 16:33:08 +0200
committerRenato Westphal <renato@opensourcerouting.org>2017-03-31 18:51:53 +0200
commit1d75a89d8553caab99e58668af30a9803d40d49b (patch)
treebdfdc77f6f84973d2fe3e27a1da6d0fa1b75a322 /ldpd/ldpe.h
parentldpd: extend the ldp_config_normalize() function (diff)
downloadfrr-1d75a89d8553caab99e58668af30a9803d40d49b.tar.xz
frr-1d75a89d8553caab99e58668af30a9803d40d49b.zip
ldpd: do not consume vty_conf when updating the configuration
David Lamparter gave the idea of keeping vty_conf as a permanent copy of ldpd_conf in order to simplify the CLI code and facilitate the integration with his cap'n proto framework in the future. Doing this demanded quite some effort but it was worth it as the code looks much better now. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/ldpe.h')
-rw-r--r--ldpd/ldpe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldpd/ldpe.h b/ldpd/ldpe.h
index e4b8394aa..a3f41a8b9 100644
--- a/ldpd/ldpe.h
+++ b/ldpd/ldpe.h
@@ -215,7 +215,8 @@ void mapping_list_clr(struct mapping_head *);
/* interface.c */
struct iface *if_new(const char *);
-void if_exit(struct iface *);
+void ldpe_if_init(struct iface *);
+void ldpe_if_exit(struct iface *);
struct iface *if_lookup(struct ldpd_conf *, unsigned short);
struct iface *if_lookup_name(struct ldpd_conf *, const char *);
void if_update_info(struct iface *, struct kif *);