]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_snmp_bgp4v2.h
*: Convert struct thread_master to struct event_master and it's ilk
[mirror_frr.git] / bgpd / bgp_snmp_bgp4v2.h
index 8b474c38879b8e49befc42c210ce11193e9d2f2c..134ab15b69437f1df289acb19b3d0e255bb013aa 100644 (file)
@@ -1,23 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* BGP4V2-MIB SNMP support
  *
  * Using: http://www.circitor.fr/Mibs/Html/B/BGP4V2-MIB.php
  *
  * Copyright (C) 2022 Donatas Abraitis <donatas@opensourcerouting.org>
- *
- * This file is part of FRRouting (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 this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef _FRR_BGP_SNMP_BGP4V2_H_
@@ -95,6 +81,6 @@
 #define BGP4V2_ESTABLISHED_NOTIFICATION 1
 #define BGP4V2_BACKWARD_TRANSITION_NOTIFICATION 2
 
-extern int bgp_snmp_bgp4v2_init(struct thread_master *tm);
+extern int bgp_snmp_bgp4v2_init(struct event_master *tm);
 
 #endif /* _FRR_BGP_SNMP_BGP4V2_H_ */