summaryrefslogtreecommitdiff
path: root/ares.h
AgeCommit message (Collapse)AuthorFilesLines
2008-05-13- Introducing millisecond resolution support for the timeout option. SeeDaniel Stenberg1-1/+3
ares_init_options()'s ARES_OPT_TIMEOUTMS.
2007-12-10Fix for targets that do have 'struct in6_addr', but which doesn'tGisle Vanem1-1/+1
define 's6_addr' as a macro.
2007-11-15Needed now that in6_addr is referenced in ares.hYang Tse1-2/+15
2007-11-15Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. ↵Steinar H. Gunderson1-2/+21
Patch from the Google tree.
2007-11-08Define WIN32 when build target is Win32 API.Yang Tse1-0/+8
This also defines it for WinCE even though it is a subset of WIN32.
2007-10-19Avoid shadowing a global declarationYang Tse1-8/+1
2007-09-28Support a few more socket options, and refactor the option setting a bit. ↵Steinar H. Gunderson1-0/+4
(Patch from the Google tree.)
2007-09-28Make the query callbacks return the number of timeouts that happened during ↵Steinar H. Gunderson1-4/+4
the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
2007-07-03added NetWare CLIB-own header to solve gcc warnings.Gunter Knauf1-0/+3
2007-07-03few minor changes to make ares compile for NetWare CLIB architecture.Gunter Knauf1-1/+1
2007-05-30Brad House added ares_save_options() and ares_destroy_options() that can beDaniel Stenberg1-0/+7
used to keep options for later re-usal when ares_init_options() is used.
2007-05-30added ares_process_fd() to allow applications to ask for processing onDaniel Stenberg1-0/+18
specific sockets and thus avoiding select() and associated functions/macros. This function will be used by upcoming libcurl releases for this very reason. It also made me export the ares_socket_t type in the public ares.h header file, since ares_process_fd() uses that type for two of the arguments.
2007-04-16ares_getopt() command-line parser function does not belong to actualYang Tse1-1/+0
c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c
2007-04-12add ares_getopt prototypeYang Tse1-0/+1
2007-02-19Vlad Dinulescu added ares_parse_ns_reply()Daniel Stenberg1-0/+2
2006-10-11Remove redundant __CYGWIN__ symbol checkYang Tse1-1/+1
2006-07-05Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows ↵Yang Tse1-1/+1
headers when compiled with Cygwin in POSIX emulation mode.
2006-05-03Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makesDaniel Stenberg1-0/+15
c-ares call a callback on socket state changes. A better way than the ares_getsock() to get full control over the socket state.
2005-12-22Added ares_getsock() to extract sockets to wait for action on, without beingDaniel Stenberg1-18/+25
limited to select().
2005-12-19Undo previous change. This header file belongs to the publicYang Tse1-1/+4
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 Tse1-4/+1
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
2005-12-11Undo last changesYang Tse1-1/+1
2005-12-11Fix compiler warning and compatibility issue with the type of the parameter ↵Yang Tse1-1/+1
used in getnameinfo() to receive the length of the sockaddr struct.
2005-11-09Replace <winsock.h> with <winsock2.h>Gisle Vanem1-1/+1
since IPv6 support is required.
2005-09-18Added constants that will be used by ares_getaddrinfo. Made ares_getnameinfo ↵Dominick Meglio1-3/+25
use the reentrant getservbyport (getservbyport_r) if it isavailable to ensure it works properly in a threaded environment
2005-08-18detabifiedDaniel Stenberg1-17/+17
2005-05-16Added ares_getnameinfo which mimics the getnameinfo APIDominick Meglio1-1/+29
2005-03-10Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. TheDaniel Stenberg1-1/+2
first little steps towards IPv6 support!
2004-11-11Adapted for C++.Gisle Vanem1-0/+8
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg1-49/+49
2004-08-20Changes for Watt-32 on Windows. I've assumed ConfigureGisle Vanem1-4/+7
sets the required HAVE_xx defines for non-DOS/Win targets.
2004-07-11added ifdef for NetWare to ares.h.Gunter Knauf1-1/+1
2004-04-01Dirk Manske's ares_cancel() function was added.Daniel Stenberg1-1/+1
2004-03-30Dominick Meglio's new ares_expand_string() functionDaniel Stenberg1-0/+3
2004-02-25Don't check for HAVE_ defines in this header file, it is meant to be publicDaniel Stenberg1-1/+4
and we can't depend on configure-defines in it. This logic is borrowed from the public curl headers.
2004-02-23include sys/select.hDaniel Stenberg1-0/+4
2004-02-23make ares_expand_name() take a long * instead of an int *, since we doDaniel Stenberg1-1/+1
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need long
2004-02-04ares_free_string() now takes a void * insteadDaniel Stenberg1-1/+1
2004-02-02removed the silly second argument to ares_strerror()Daniel Stenberg1-1/+1
This breaks the API and ABI with the existing ares library. We hereby require the upcoming c-ares 1.0 for asynch name resolves!
2003-10-07ares 1.1.1 with collected applied patchesDaniel Stenberg1-0/+130