1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-06 06:39:26 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
a5ce39391c c-ares/nameser.h: add some T_* defines for ns_t_* values 2012-11-23 14:23:34 +01:00
ebc9a9d958 nameser.h: RFC4034 resource record type definitions 2011-03-24 20:24:42 +01:00
63627fa5ab remove all $Id$ lines 2010-03-27 19:42:02 +01:00
f214b583f5 adjust inclusion of "nameser.h" 2008-09-17 01:02:57 +00:00
861ea67ee8 reorder some lines in file 2008-09-17 00:07:49 +00:00
507c529dc0 code cleanup 2008-09-16 18:43:25 +00:00
1a9795b401 rearrange to allow internal/private use of ares_writev to any system
that lacks the writev function.
2008-09-16 16:42:48 +00:00
705c749aa1 - As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define is
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-06-30 12:48:25 +00:00
0848b4fdaa Use monotonic time source if available. 2008-05-09 16:30:24 +00:00
8627b23715 Needed now that in6_addr is referenced in ares.h 2007-11-15 19:44:01 +00:00
a0b8ac2bdc improve portability, defining MAXDNAME and MAXCDNAME 2007-09-30 00:37:47 +00:00
76a007538c although the check for HAVE_STRUCT_TIMEVAL solved the redefine it is 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-04 10:54:15 +00:00
5a6af8adbc trial to catch problem with Daniels cross-mingw ares builds. 2007-07-03 18:18:40 +00:00
ee2df583d3 Move portable error number symbolic name definitions to setup_once.h 2007-02-17 13:51:24 +00:00
4a30753b47 Support for OpenWatcom (Win32): It do have getpid(), but no
<sys/time.h>.
2007-01-30 13:15:07 +00:00
413a37e409 Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode. 2006-07-05 23:10:38 +00:00
c43edebb70 Undo previous change. This header file belongs to the public
interface and the change could break the compilation of thrid
party apps which link against this library.
2005-12-19 00:15:04 +00:00
4b3090680a Cleanup windows header includes. Where aplicable, inclusion of
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
2005-12-18 15:36:14 +00:00
0776e67138 Added CVS id. Detabified. 2005-11-12 14:44:26 +00:00
3a80a3eb01 better errno constant replacements, as mentioned by Gisle Vanem 2005-04-06 21:14:58 +00:00
3d90cb252b with these changes, it builds on my win32 cross-compiler 2005-04-05 20:20:14 +00:00
6deb40acac Changes for Watt-32 on Windows. I've assumed Configure
sets the required HAVE_xx defines for non-DOS/Win targets.
2004-08-20 13:45:26 +00:00
e8e8d3a407 Gisle Vanem:
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-24 21:47:49 +00:00
c73d12e2e4 added few ifdefs to make it usable for NetWare. 2004-07-03 21:48:42 +00:00
e7293e0779 djgpp fixes by Gisle 2004-07-01 13:55:13 +00:00
3f01f1b772 mingw has str(n)casecmp() functions 2004-03-09 10:18:09 +00:00
9df1eda502 timezone dummy to build better on Windows - Gisle Vanem 2004-03-09 09:47:51 +00:00
69d192ba1e include process.h to get the _getpid() proto 2004-02-05 12:19:13 +00:00
49eceda4dd prevent a compiler warning about a macro definition 2004-02-04 08:04:28 +00:00
c72a2f4af7 prevent the windows version to use global symbol names
added prototypes for the strcasecmp() functions
2004-02-04 08:00:25 +00:00
2c9c9e92fd Dominick Meglio's fix to make our private gettimeofday() use the ares_
namespace
2004-01-04 12:19:06 +00:00
5e847a14bd ares 1.1.1 with collected applied patches 2003-10-07 21:54:04 +00:00