summaryrefslogtreecommitdiff
path: root/ares.h
AgeCommit message (Collapse)AuthorFilesLines
2013-03-10ares.h: stricter CARES_EXTERN linkage decorations logicYang Tse1-10/+6
No API change involved.
2013-03-09ares.h: there is no ares_free_soa functionDaniel Stenberg1-3/+1
2013-02-19ares.h: s/socklen_t/ares_socklen_t for portabilityDaniel Stenberg1-1/+1
2013-02-17ares_inet_pton/ntop: cleanupDaniel Stenberg1-1/+7
Make sure that the symbols are always exported and present in c-ares. Make the headers prefixed with 'ares'. Removed the inet_ntop.h version as it no longer features any content.
2012-08-17Added new feature (rfc2671)hpopescu@ixiacom.com1-0/+12
2012-06-15SOA parser addedMarko Kreen1-0/+16
I need to do SOA queries, so here is a parser for them. - ares_soa_reply: new struct - ares_malloc_data/ares_free_soa: ARES_DATATYPE_SOA_REPLY - ares_parse_soa_reply: actual function
2012-04-16Check for __ANDROID__ in addition to ANDROID macro.Guenter Knauf1-1/+1
2012-04-14Fix for Android to include sys/select.h for fd_set.Guenter Knauf1-1/+2
2012-02-23Added support for parsing NAPTR recordssaghul1-0/+14
2011-03-22Windows CE specific adjustmentYang Tse1-1/+7
All versions of Windows CE support Winsock 1.1
2010-07-29Replaced uint32_t with unsigned int to fix broken builds on a couple of ↵Guenter Knauf1-1/+1
platforms.
2010-07-18local-bind: Support binding to local interface/IPsBen Greear1-0/+19
Add 3 new functions to set the local binding for the out-going socket connection, and add ares_set_servers_csv() to set a list of servers at once as a comma-separated string. Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-04-18added ares_parse_mx_replyJérémy Lal1-0/+10
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2010-03-11fix compiler warningYang Tse1-1/+1
2010-03-05Added IPv6 name servers supportYang Tse1-1/+16
2009-11-23Daniel wants upcoming release to be 1.7.0Yang Tse1-6/+6
2009-11-23- Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl andYang Tse1-8/+5
ares_addr6ttl in order to prevent name space pollution, along with necessary changes to code base and man pages.This change does not break ABI, there is no need to recompile existing applications. But existing applications using these structs with the old name will need source code adjustments when recompiled using c-ares 1.6.1.
2009-11-20Add missing external API decoration for ares_set_socket_callback()Yang Tse1-3/+3
2009-11-20Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply() APIYang Tse1-4/+2
to return a linked lists of results. These were also modified to internally use the ares_data memory struct and as such its result must be free'ed with ares_free_data().
2009-11-20Initial support for the generic ares_free_data() function that will allowYang Tse1-6/+10
applications to free memory allocated and returned by some c-ares funtions.
2009-10-31Symbol hiding configure options renamed to the hopefully less ambiguousYang Tse1-2/+2
--enable-symbol-hiding and --disable-symbol-hiding as well as related macro names and some internal variables used for them. Related configuration file preprocessor symbols named to CARES_SYMBOL_HIDING and CARES_SYMBOL_SCOPE_EXTERN.
2009-10-30In no particular order, changed/fixed all of the following inYang Tse1-1/+1
ares_parse_txt_reply() current version: - Fixed a couple of potential double free's. - Fixed memory leaks upon out of memory condition. - Fixed pointer arithmetic. - Setting ntxtreply to zero upon entry for all failure cases. - Changed data type to size_t for variables substr_len, str_len and the length member of ares_txt_reply struct. - Avoided a couple of memcpy() calls. - Changed i data type to unsigned int to prevent compiler warnings. - Adjusted a comment. - Use ARES_SUCCESS literal for successfull completion. - Added CVS Id tag.
2009-10-29Jakub Hrozek added ares_parse_txt_reply() for TXT parsingDaniel Stenberg1-0/+10
2009-10-29use 'ares_srv_reply' for proper name-spacingDaniel Stenberg1-2/+2
2009-10-29External API function linkage decoration adjustmentYang Tse1-7/+9
2009-10-28Initial step towards the ability to reduce c-ares exported symbolsYang Tse1-70/+192
based on the 'visibility' attribute for GNUC and __global for Sun compilers, taking also in account __declspec function decoration for Win32 and Symbian DLL's. Introducing configure options --enable-hidden-symbols and --disable-hidden-symbols following libcurl's naming.
2009-10-23John Engelhart noticed an unreleased problem relative to a duplicateYang Tse1-4/+6
ARES_ECANCELLED error code value and missing error code description.
2009-09-05changed u_int16_t to unsigned short because it is the only place within ares ↵Gunter Knauf1-3/+3
and curl where such a type would be used; also it broke many autobuilds. We should probably introduce an ares_port_t if we want to use a type here.
2009-09-04- Jakub Hrozek added ares_parse_srv_reply() for SRV parsingDaniel Stenberg1-1/+10
2009-08-03- Timo Teras changed the reason code used in the resolve callback done whenDaniel Stenberg1-0/+1
ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to better allow the callback to know what's happening.
2009-05-26Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZEDYang Tse1-2/+5
if library initialization has not been performed calling ares_library_init().
2009-05-19Fix caseYang Tse1-1/+1
2009-05-18Remove run-time requirement for advapi32.dll sinceYang Tse1-2/+1
c-ares can work even with no advapi32.dll at all.
2009-05-18Intentionally avoid checking if the address of SystemFunction036, a.k.a.Yang Tse1-1/+0
RtlGenRandom, has been located or not. This function is only available on WinXP and later. When unavailable c-ares uses portable rand() function.
2009-05-18- Provide in external interface preprocessor symbol definitions forYang Tse1-2/+4
CARES_HAVE_ARES_LIBRARY_INIT and CARES_HAVE_ARES_LIBRARY_CLEANUP to ease the use of new capabilities. - Move ares_version() prototype to ares.h
2009-05-17Introduction of ares_library_init() and ares_library_cleanup()Yang Tse1-0/+14
2009-05-02Use build-time configured ares_socklen_t instead of socklen_tYang Tse1-1/+1
2009-04-28Initial step towards a configure time ares_socklen_t definitionYang Tse1-0/+3
2009-01-14- ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but instead itDaniel Stenberg1-9/+17
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 Stenberg1-0/+5
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 Fandrich1-1/+2
2008-12-03Let's not call ares_save_options() deprecated just yetDaniel Stenberg1-8/+5
2008-12-03Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.Daniel Stenberg1-2/+24
Also discussed on the ml.
2008-12-01Convert the public config struct to the same binary size/construct as in theDaniel Stenberg1-1/+0
latest releases to remain ABI compatible.
2008-11-29Make sure sys/socket.h is included before netinet/in.h (required byDan Fandrich1-1/+1
OpenWatcom C)
2008-11-19- Brad Spencer brought the new function ares_gethostbyname_file() which simplyDaniel Stenberg1-0/+2
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 Stenberg1-0/+2
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 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.