summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-01-24 21:35:08 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-02-07 17:19:11 +0100
commit0a3fc2a5df0d7896471a7daf2fcad2f9cd64d686 (patch)
treec30117ec4e8ac982c0bc74b9c167f2b0ff698f45 /ospfd/ospfd.h
parent*: Convert libospf -> libfrrospf (diff)
downloadfrr-0a3fc2a5df0d7896471a7daf2fcad2f9cd64d686.tar.xz
frr-0a3fc2a5df0d7896471a7daf2fcad2f9cd64d686.zip
ospfd: isolate ospfapiclient lib from ospf lib
The OSPF API-client library doesn't really use anything from libospf except some small dumping tools. Isolate these into a separate file and detangle the ospfapiclient library. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospfd.h')
-rw-r--r--ospfd/ospfd.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h
index 41a7a30d8..01395ff98 100644
--- a/ospfd/ospfd.h
+++ b/ospfd/ospfd.h
@@ -30,6 +30,7 @@
#include "log.h"
#include "ospf_memory.h"
+#include "ospf_dump_api.h"
#define OSPF_VERSION 2
@@ -506,17 +507,7 @@ struct ospf_nbr_nbma
/* Extern variables. */
extern struct ospf_master *om;
-extern const struct message ospf_ism_state_msg[];
-extern const struct message ospf_nsm_state_msg[];
-extern const struct message ospf_lsa_type_msg[];
-extern const struct message ospf_link_state_id_type_msg[];
-extern const struct message ospf_network_type_msg[];
-extern const int ospf_ism_state_msg_max;
-extern const int ospf_nsm_state_msg_max;
-extern const int ospf_lsa_type_msg_max;
-extern const int ospf_link_state_id_type_msg_max;
extern const int ospf_redistributed_proto_max;
-extern const int ospf_network_type_msg_max;
extern struct zclient *zclient;
extern struct thread_master *master;
extern int ospf_zlog;