aboutsummaryrefslogtreecommitdiff
path: root/ares/nameser.h
AgeCommit message (Collapse)Author
2008-09-17adjust inclusion of "nameser.h"Yang Tse
2008-09-17reorder some lines in fileYang Tse
2008-09-16code cleanupYang Tse
2008-09-16rearrange to allow internal/private use of ares_writev to any systemYang Tse
that lacks the writev function.
2008-06-30- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define isDaniel Stenberg
not posix or anything and thus c-ares failed to build on hurd (and possibly elsewhere). The define was also somewhat artificially used in the windows port. Now, I instead rewrote the use of gethostbyname to enlarge the host name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN define. I thus also removed the defien from the namser.h file where it was once added for the windows build. I also fixed init_by_defaults() function to not leak memory in case if error.
2008-05-09Use monotonic time source if available.Yang Tse
2007-11-15Needed now that in6_addr is referenced in ares.hYang Tse
2007-09-30improve portability, defining MAXDNAME and MAXCDNAMEYang Tse
2007-07-04although the check for HAVE_STRUCT_TIMEVAL solved the redefine it is ↵Gunter Knauf
incorrect; lets see if a check for HAVE_GETTIMEOFDAY also works; if gettimeofday() is present then we can assume we have the timezone struct too.
2007-07-03trial to catch problem with Daniels cross-mingw ares builds.Gunter Knauf
2007-02-17Move portable error number symbolic name definitions to setup_once.hYang Tse
2007-01-30Support for OpenWatcom (Win32): It do have getpid(), but noGisle Vanem
<sys/time.h>.
2006-07-05Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows ↵Yang Tse
headers when compiled with Cygwin in POSIX emulation mode.
2005-12-19Undo previous change. This header file belongs to the publicYang Tse
interface and the change could break the compilation of thrid party apps which link against this library.
2005-12-18Cleanup windows header includes. Where aplicable, inclusion ofYang Tse
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
2005-11-12Added CVS id. Detabified.Gisle Vanem
2005-04-06better errno constant replacements, as mentioned by Gisle VanemDaniel Stenberg
2005-04-05with these changes, it builds on my win32 cross-compilerDaniel Stenberg
2004-08-20Changes for Watt-32 on Windows. I've assumed ConfigureGisle Vanem
sets the required HAVE_xx defines for non-DOS/Win targets.
2004-07-24Gisle Vanem:Daniel Stenberg
Basically in loops like handle_errors(), 'query->next' was assigned a local variable and then query was referenced after the memory was freed by next_server(). I've changed that so next_server() and end_query() returns the next query. So callers should use this ret-value. The next problem was that 'server->tcp_buffer_pos' had a random value at entry to 1st recv() (luckily causing Winsock to return ENOBUFS). I've also added a ares_writev() for Windows to streamline the code a bit more.
2004-07-03added few ifdefs to make it usable for NetWare.Gunter Knauf
2004-07-01djgpp fixes by GisleDaniel Stenberg
2004-03-09mingw has str(n)casecmp() functionsDaniel Stenberg
2004-03-09timezone dummy to build better on Windows - Gisle VanemDaniel Stenberg
2004-02-05include process.h to get the _getpid() protoDaniel Stenberg
2004-02-04prevent a compiler warning about a macro definitionDaniel Stenberg
2004-02-04prevent the windows version to use global symbol namesDaniel Stenberg
added prototypes for the strcasecmp() functions
2004-01-04Dominick Meglio's fix to make our private gettimeofday() use the ares_Daniel Stenberg
namespace
2003-10-07ares 1.1.1 with collected applied patchesDaniel Stenberg