]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_netns_notify.h
Merge pull request #13656 from sri-mohan1/srib-ldpd1
[mirror_frr.git] / zebra / zebra_netns_notify.h
index 0ced749ae821b63aede0e3ee47309971743f85bd..c701b0f8ac2379e0a223f3c953bc7a4ca62c346a 100644 (file)
@@ -1,29 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Zebra NS collector and notifier for Network NameSpaces
  * Copyright (C) 2017 6WIND
- *
- * This program 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 of the License, or (at your option)
- * any later version.
- *
- * This program 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 _NETNS_NOTIFY_H
 #define _NETNS_NOTIFY_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern void zebra_ns_notify_init(void);
 extern void zebra_ns_notify_parse(void);
 extern void zebra_ns_notify_close(void);
 
 extern struct zebra_privs_t zserv_privs;
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* NETNS_NOTIFY_H */