Always declare, and define, "file_seek()" to return a "long", as it's
[obnox/wireshark/wip.git] / ipv4.h
diff --git a/ipv4.h b/ipv4.h
index c6f4da99fcc86e6e1feecbafd27d65ec10c89ac4..51e13319b4fb00cf4101cddc6bc07da7a3f34cae 100644 (file)
--- a/ipv4.h
+++ b/ipv4.h
@@ -5,10 +5,10 @@
  *
  * Gilbert Ramirez <gramirez@tivoli.cm>
  *
- * $Id: ipv4.h,v 1.1 1999/11/15 06:32:14 gram Exp $
+ * $Id: ipv4.h,v 1.4 2000/01/07 22:05:28 guy Exp $
  *
  * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@unicom.net>
+ * By Gerald Combs <gerald@zing.org>
  * Copyright 1998 Gerald Combs
  *
  * 
@@ -48,6 +48,10 @@ void ipv4_addr_set_netmask_bits(ipv4_addr *ipv4, guint new_nmask_bits);
 guint32 ipv4_get_net_order_addr(ipv4_addr *ipv4);
 guint32 ipv4_get_host_order_addr(ipv4_addr *ipv4);
 
+/* Returns a string pointer to a dotted-decimal notation representation of an IPv4
+ * address. The pointer points to a internal buffer, so don't try to g_free() it */
+gchar* ipv4_addr_str(ipv4_addr *ipv4);
+
 /* Compares two ipv4_addrs, taking into account the less restrictive of the
  * two netmasks, applying that netmask to both addrs.
  */