aboutsummaryrefslogtreecommitdiffstats
path: root/inet_v6defs.h
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2000-01-10 17:33:17 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2000-01-10 17:33:17 +0000
commitbab4f30a330c6a4641e5bd41eee875d8a7071610 (patch)
tree413b147e552443eae7de52faa7c999543babae13 /inet_v6defs.h
parentaf488f1db9f2c43ee00cc4bb870d8ff7b68b7ea4 (diff)
Some initial changes for win32 support, but not all.
Added lots of #ifdef HAVE_*_H wrappers. Added some #defines in config.h.win32 Check for more headers in configure.in Added prototype for inet_aton() in inet_v6defs.h. Changed "BYTE" token (i.e., #define) in ascend-gramamr.y because it conflicts with a windows definition. Use HEXBYTE instead. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1448 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'inet_v6defs.h')
-rw-r--r--inet_v6defs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/inet_v6defs.h b/inet_v6defs.h
index 3d124d8338..91e86ad8c4 100644
--- a/inet_v6defs.h
+++ b/inet_v6defs.h
@@ -1,6 +1,6 @@
/* inet_pton.h
*
- * $Id: inet_v6defs.h,v 1.1 1999/10/14 06:55:09 guy Exp $
+ * $Id: inet_v6defs.h,v 1.2 2000/01/10 17:32:51 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -29,6 +29,9 @@ extern int inet_pton(int af, const char *src, void *dst);
extern const char *inet_ntop(int af, const void *src, char *dst,
size_t size);
+struct in_addr;
+extern int inet_aton(const char* cp_arg, struct in_addr *addr);
+
/*
* Those OSes may also not have AF_INET6, so declare it here if it's not
* already declared, so that we can pass it to "inet_ntop()" and "inet_pton()".