diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2005-05-26 18:46:17 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2005-05-26 18:46:17 +0000 |
commit | 7cf6eda334dffaf69df401d31534e44640127f22 (patch) | |
tree | a84911c3bfa4ef4c913c9be39fe43bb54da15356 /usr.sbin/ospfd/ospfd.h | |
parent | fbbd40270d5f052b4c08b62bae07889515323161 (diff) |
Support dumping the configuration the way bgpd(8) does it.
This makes it possible to have ospfd(8) parse a configuration file and
display the parsed result.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/ospfd.h')
-rw-r--r-- | usr.sbin/ospfd/ospfd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/ospfd.h b/usr.sbin/ospfd/ospfd.h index e000cc1ef9d..603561b9446 100644 --- a/usr.sbin/ospfd/ospfd.h +++ b/usr.sbin/ospfd/ospfd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.h,v 1.32 2005/05/26 04:09:24 norby Exp $ */ +/* $OpenBSD: ospfd.h,v 1.33 2005/05/26 18:46:16 norby Exp $ */ /* * Copyright (c) 2004 Esben Norby <norby@openbsd.org> @@ -455,8 +455,6 @@ struct ctl_sum_area { u_int32_t num_lsa; }; -void show_config(struct ospfd_conf *xconf); - /* area.c */ struct area *area_new(void); int area_del(struct area *); @@ -527,4 +525,7 @@ in_addr_t prefixlen2mask(u_int8_t); void main_imsg_compose_ospfe(int, pid_t, void *, u_int16_t); void main_imsg_compose_rde(int, pid_t, void *, u_int16_t); +/* printconf.c */ +void print_config(struct ospfd_conf *); + #endif /* _OSPFD_H_ */ |