summaryrefslogtreecommitdiff
path: root/ospfd/ospf_dump_api.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-02-07 13:04:13 -0500
committerGitHub <noreply@github.com>2017-02-07 13:04:13 -0500
commitdbcceee45acea4f4285471c4322c3b1ad662a69c (patch)
treef99817172d9020f2b8f0cdc732003e46b95a7771 /ospfd/ospf_dump_api.h
parent03a5ba2b545ee7fdcd52d9b74f9ab11832b4f895 (diff)
parent3d04dc3854bf4c9a54fe1f30cc65d6eefd4b41c4 (diff)
Merge pull request #178 from opensourcerouting/ospf_lib_private
make libfrrospf private
Diffstat (limited to 'ospfd/ospf_dump_api.h')
-rw-r--r--ospfd/ospf_dump_api.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/ospfd/ospf_dump_api.h b/ospfd/ospf_dump_api.h
new file mode 100644
index 0000000000..c3ff1e3f54
--- /dev/null
+++ b/ospfd/ospf_dump_api.h
@@ -0,0 +1,43 @@
+/*
+ * OSPFd dump routine (parts used by ospfclient).
+ * Copyright (C) 1999 Toshiaki Takada
+ *
+ * This file is part of FreeRangeRouting (FRR).
+ *
+ * FRR is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU General Public License as published by the Free Software
+ * Foundation; either version 2, or (at your option) any later version.
+ *
+ * FRR is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with FRR; see the file COPYING. If not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef _ZEBRA_OSPF_DUMP_API_H
+#define _ZEBRA_OSPF_DUMP_API_H
+
+#include "log.h"
+struct lsa_header;
+
+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 struct message ospf_auth_type_str[];
+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_network_type_msg_max;
+extern const size_t ospf_auth_type_str_max;
+
+extern char *ospf_options_dump (u_char);
+extern void ospf_lsa_header_dump (struct lsa_header *);
+
+#endif /* _ZEBRA_OSPF_DUMP_API_H */