Import Upstream version 1.2.2
[quagga-debian.git] / ospfd / ospf_snmp.h
1 /* OSPFv2 SNMP support
2  * Copyright (C) 2000 IP Infusion Inc.
3  *
4  * Written by Kunihiro Ishiguro <kunihiro@zebra.org>
5  *
6  * This file is part of GNU Zebra.
7  *
8  * GNU Zebra is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU General Public License as published by the
10  * Free Software Foundation; either version 2, or (at your option) any
11  * later version.
12  *
13  * GNU Zebra is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with GNU Zebra; see the file COPYING.  If not, write to the Free
20  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21  * 02111-1307, USA.  
22  */
23
24 #ifndef _ZEBRA_OSPF_SNMP_H
25 #define _ZEBRA_OSPF_SNMP_H
26
27 extern void ospf_snmp_if_update (struct interface *);
28 extern void ospf_snmp_if_delete (struct interface *);
29
30 extern void ospf_snmp_vl_add (struct ospf_vl_data *);
31 extern void ospf_snmp_vl_delete (struct ospf_vl_data *);
32
33 extern void ospfTrapIfStateChange (struct ospf_interface *);
34 extern void ospfTrapVirtIfStateChange (struct ospf_interface *);
35 extern void ospfTrapNbrStateChange (struct ospf_neighbor *);
36 extern void ospfTrapVirtNbrStateChange (struct ospf_neighbor *);
37
38 #endif /* _ZEBRA_OSPF_SNMP_H */