diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-01-10 17:33:17 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-01-10 17:33:17 +0000 |
commit | 1990d5fb5ca844ef3c09bb0b177f3bc1ced3d924 (patch) | |
tree | 413b147e552443eae7de52faa7c999543babae13 /inet_v6defs.h | |
parent | 9fe38ca2b5dc37b9f47ea3f047a0b079b47c4459 (diff) | |
download | wireshark-1990d5fb5ca844ef3c09bb0b177f3bc1ced3d924.tar.gz wireshark-1990d5fb5ca844ef3c09bb0b177f3bc1ced3d924.tar.bz2 wireshark-1990d5fb5ca844ef3c09bb0b177f3bc1ced3d924.zip |
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.
svn path=/trunk/; revision=1448
Diffstat (limited to 'inet_v6defs.h')
-rw-r--r-- | inet_v6defs.h | 5 |
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()". |