aboutsummaryrefslogtreecommitdiffstats
path: root/resolv.h
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-07 22:52:57 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-07 22:52:57 +0000
commit6d610d5a736194dc2ba998ca285ed31937b962fa (patch)
treec720d2a42f11c9d14ac1a161eb785b438c2c4b14 /resolv.h
parentbe35348d2e6dc8f996c9de344ded516f054a501f (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@342 f5534014-38df-0310-8fa8-9805f1628bb7
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__ */