aboutsummaryrefslogtreecommitdiffstats
path: root/resolv.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-07-07 22:52:57 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-07-07 22:52:57 +0000
commit07f42b5b31f9523deeb147226521f77a2c8dd797 (patch)
treec720d2a42f11c9d14ac1a161eb785b438c2c4b14 /resolv.h
parentfba49cfe85d4b23ebbffa97fae126a379e913ecd (diff)
Created a new protocol tree implementation and a new display filter
mechanism that is built into ethereal. Wiretap is now used to read all file formats. Libpcap is used only for capturing. svn path=/trunk/; revision=342
Diffstat (limited to 'resolv.h')
-rw-r--r--resolv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/resolv.h b/resolv.h
index 31e04d1b03..4782f60f30 100644
--- a/resolv.h
+++ b/resolv.h
@@ -1,7 +1,7 @@
/* resolv.h
* Definitions for network object lookup
*
- * $Id: resolv.h,v 1.4 1999/03/28 18:32:01 gram Exp $
+ * $Id: resolv.h,v 1.5 1999/07/07 22:51:59 gram Exp $
*
* Laurent Deniel <deniel@worldnet.fr>
*
@@ -72,4 +72,7 @@ extern u_char *get_ether_addr(u_char *name);
/* adds a hostname/IP in the hash table */
extern void add_host_name(u_int addr, u_char *name);
+/* Returns IP address for a string representing the hostname or dotted-decial IP address */
+unsigned long get_host_ipaddr(const char *host);
+
#endif /* __RESOLV_H__ */