aboutsummaryrefslogtreecommitdiffstats
path: root/epan/inet_ntop.c
AgeCommit message (Collapse)AuthorFilesLines
2002-10-29Note why we're including <sys/socket.h> and <winsock2.h> in places whereGuy Harris1-3/+3
we're including them to get AF_ values. Shuffle the order of those includes in "inet_pton.c" to match the order in "inet_ntop.c". Include <winsock2.h> in "resolv.c" and "to_str.c" so that we get AF_ values from it - including AF_INET6 - if they exist, as we want to have everybody who uses AF_INET6 get the same value. svn path=/trunk/; revision=6517
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-2/+2
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6116
2002-08-04Undo my last change: These files are used by systems only that need sys/types.hJörg Mayer1-7/+15
anyway (see Guys remark on inet_pton.c). svn path=/trunk/; revision=5947
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer1-15/+7
equivalents for the epan/ directory but leave winsock2.h in inet_pton.c and inet_ntop.c for now (can't estimate the consequences). svn path=/trunk/; revision=5928
2002-06-23WinPcap 2.3's <pcap.h> includes <packet32.h>, and WinPcap 2.3'sGuy Harris1-3/+3
<packet32.h> includes <winsock2.h>; we include that rather than <winsock.h>, to avoid errors due to conflicting declarations in <winsock.h> and <winsock2.h>. svn path=/trunk/; revision=5742
2001-10-28Clean up another signed vs. unsigned comparison warning - ifGuy Harris1-2/+6
"snprintf()" returns a negative number, that's an error, and we assume "errno" was set and return NULL, otherwise we cast its return value to "size_t" and compare it with the size of the buffer we were given, and, if it was bigger, we know that "snprintf()" didn't generate all the characters it could be cause they wouldn't have fit, so we set "errno" to ENOSPC and return NULL. svn path=/trunk/; revision=4095
2000-10-14Move inet_*.[ch] files to epan.Gilbert Ramirez1-0/+233
svn path=/trunk/; revision=2494