aboutsummaryrefslogtreecommitdiff
path: root/ares/ares.h
AgeCommit message (Collapse)Author
2009-01-14- ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but instead itDaniel Stenberg
now declares the private struct ares_in6_addr for all systems instead of relying on one possibly not present in the system.
2008-12-04Gregor Jasny provided the patch that introduces ares_set_socket_callback(),Daniel Stenberg
and I edited it to also get duped by ares_dup().
2008-12-04Bring the sys/include.h include test in line with curl's.Dan Fandrich
2008-12-03Let's not call ares_save_options() deprecated just yetDaniel Stenberg
2008-12-03Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.Daniel Stenberg
Also discussed on the ml.
2008-12-01Convert the public config struct to the same binary size/construct as in theDaniel Stenberg
latest releases to remain ABI compatible.
2008-11-29Make sure sys/socket.h is included before netinet/in.h (required byDan Fandrich
OpenWatcom C)
2008-11-19- Brad Spencer brought the new function ares_gethostbyname_file() which simplyDaniel Stenberg
resolves a host name from the given file, using the regular hosts syntax.
2008-11-01- Carlo Contavalli added support for the glibc "rotate" option, as documentedDaniel Stenberg
in man resolv.conf: causes round robin selection of nameservers from among those listed. This has the effect of spreading the query load among all listed servers, rather than having all clients try the first listed server first every time. You can enable it with ARES_OPT_ROTATE
2008-05-13- Introducing millisecond resolution support for the timeout option. SeeDaniel Stenberg
ares_init_options()'s ARES_OPT_TIMEOUTMS.
2007-12-10Fix for targets that do have 'struct in6_addr', but which doesn'tGisle Vanem
define 's6_addr' as a macro.
2007-11-15Needed now that in6_addr is referenced in ares.hYang Tse
2007-11-15Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. ↵Steinar H. Gunderson
Patch from the Google tree.
2007-11-08Define WIN32 when build target is Win32 API.Yang Tse
This also defines it for WinCE even though it is a subset of WIN32.
2007-10-19Avoid shadowing a global declarationYang Tse
2007-09-28Support a few more socket options, and refactor the option setting a bit. ↵Steinar H. Gunderson
(Patch from the Google tree.)
2007-09-28Make the query callbacks return the number of timeouts that happened during ↵Steinar H. Gunderson
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 Knauf
2007-07-03few minor changes to make ares compile for NetWare CLIB architecture.Gunter Knauf
2007-05-30Brad House added ares_save_options() and ares_destroy_options() that can beDaniel Stenberg
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 Stenberg
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 Tse
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 Tse
2007-02-19Vlad Dinulescu added ares_parse_ns_reply()Daniel Stenberg
2006-10-11Remove redundant __CYGWIN__ symbol checkYang Tse
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.
2006-05-03Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makesDaniel Stenberg
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 Stenberg
limited to select().
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-12-11Undo last changesYang Tse
2005-12-11Fix compiler warning and compatibility issue with the type of the parameter ↵Yang Tse
used in getnameinfo() to receive the length of the sockaddr struct.
2005-11-09Replace <winsock.h> with <winsock2.h>Gisle Vanem
since IPv6 support is required.
2005-09-18Added constants that will be used by ares_getaddrinfo. Made ares_getnameinfo ↵Dominick Meglio
use the reentrant getservbyport (getservbyport_r) if it isavailable to ensure it works properly in a threaded environment
2005-08-18detabifiedDaniel Stenberg
2005-05-16Added ares_getnameinfo which mimics the getnameinfo APIDominick Meglio
2005-03-10Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. TheDaniel Stenberg
first little steps towards IPv6 support!
2004-11-11Adapted for C++.Gisle Vanem
2004-10-06removed tabs and trailing whitespace from sourceDaniel 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-11added ifdef for NetWare to ares.h.Gunter Knauf
2004-04-01Dirk Manske's ares_cancel() function was added.Daniel Stenberg
2004-03-30Dominick Meglio's new ares_expand_string() functionDaniel Stenberg
2004-02-25Don't check for HAVE_ defines in this header file, it is meant to be publicDaniel Stenberg
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 Stenberg
2004-02-23make ares_expand_name() take a long * instead of an int *, since we doDaniel Stenberg
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need long
2004-02-04ares_free_string() now takes a void * insteadDaniel Stenberg
2004-02-02removed the silly second argument to ares_strerror()Daniel Stenberg
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 Stenberg