Document the new Copy Profile button.
[obnox/wireshark/wip.git] / epan / addr_and_mask.h
index 30e54bd70e162dca39130ae976d60eada333052e..849f65c6ef574e47b998e8b2317b9eab7fb21f64 100644 (file)
@@ -4,8 +4,8 @@
  *
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
 #ifndef __ADDR_AND_MASK_H__
 #define __ADDR_AND_MASK_H__
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 /*
  * These routines return PREFIX_LEN_OK on success, PREFIX_LEN_TOO_LONG if
  * the prefix length is too long, and PREFIX_LEN_ZERO if the prefix length
@@ -42,4 +46,8 @@ extern int ipv4_addr_and_mask(tvbuff_t *tvb, int offset, guint8 *addr,
 extern int ipv6_addr_and_mask(tvbuff_t *tvb, int offset,
     struct e_in6_addr *addr, guint32 prefix_len);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif /* __ADDR_AND_MASK_H__  */