]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/rfapi/rfapi_nve_addr.h
*: Create/Use accessor functions for lock count
[mirror_frr.git] / bgpd / rfapi / rfapi_nve_addr.h
index 2b2d2b50d4178bf1753f40e4cc1a652ef0389856..7bcb3cab6984074c0e989422503e98b39d43666c 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
  *
  * Copyright 2009-2016, LabN Consulting, L.L.C.
  *
  * 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; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
+ * 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 _QUAGGA_BGP_RFAPI_NVE_ADDR_H
 
 #include "rfapi.h"
 
-struct rfapi_nve_addr
-{
-  struct rfapi_ip_addr vn;
-  struct rfapi_ip_addr un;
-  void *info;
+struct rfapi_nve_addr {
+       struct rfapi_ip_addr vn;
+       struct rfapi_ip_addr un;
+       void *info;
 };
 
 
-extern int
-rfapi_nve_addr_cmp (void *k1, void *k2);
-
-extern void
-rfapiNveAddr2Str (struct rfapi_nve_addr *na, char *buf, int bufsize);
+extern int rfapi_nve_addr_cmp(const void *k1, const void *k2);
 
+extern void rfapiNveAddr2Str(struct rfapi_nve_addr *na, char *buf, int bufsize);
 
 
 #endif /* _QUAGGA_BGP_RFAPI_NVE_ADDR_H */