aboutsummaryrefslogtreecommitdiff
path: root/ares
AgeCommit message (Collapse)Author
2009-11-20Add missing external API decoration for ares_set_socket_callback()Yang Tse
2009-11-20Add ares_free_data() man page.Yang Tse
2009-11-20- Provide in external interface preprocessor symbol definitions forYang Tse
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
2009-11-20Remove typecastYang Tse
2009-11-20Fix commentYang Tse
2009-11-20Add ares_data.c and ares_data.hYang Tse
2009-11-20Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply() APIYang Tse
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 Tse
applications to free memory allocated and returned by some c-ares funtions.
2009-11-18Make usage of calloc()'s arguments consistent with rest of code baseYang Tse
2009-11-18workaround icc 9.1 optimizer issueYang Tse
2009-11-16Add icc fvisibility bug testYang Tse
2009-11-16Fix icc 9.0 compiler warning: external definition with no prior declarationYang Tse
2009-11-16Fix three var namesYang Tse
2009-11-16Add check for assert.h header fileYang Tse
2009-11-15getaddrinfo is fully thread safe on solaris versions whichYang Tse
implement the function even when h_errno is not a macro. The h_errno macro test now only done on systems for which there is no hard coded knowledge about getaddrinfo's thread safeness.
2009-11-15Remove files generated on previous buildconf/configure runYang Tse
2009-11-15Remove enable-thread / disable-thread configure option. These were only placeboYang Tse
options. The library is always built as thread safe as possible on every system.
2009-11-14Refactor how preprocessor symbol _THREAD_SAFE definition is done.Yang Tse
2009-11-13Assume that getaddrinfo is thread safe, unless hard codedYang Tse
knowledge says the contrary or h_errno is not defined.
2009-11-13Related with the threadsafe capability of getaddrinfo:Yang Tse
- Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2 and newer have a threadsafe getaddrinfo. - Fix Dragonfly BSD triplet detection. - In case the hard-coded knowledge says that getaddrinfo is threadsafe, an additional check is done to verify that h_errno is also defined. If h_errno isn't defined, we finally assume that it isn't threadsafe. Jamie Lokier provided the inspiration for this extra check.
2009-11-12AIX 5.2 and newer have threadsafe getaddrinfo.Yang Tse
Add some comments to better understand what the regex's pretend to achieve.
2009-11-12HP-UX 11.11 and later have threadsafe getaddrinfoYang Tse
2009-11-12Check if getaddrinfo is threadsafe when function check allows it to be usedYang Tse
2009-11-11Renamed fpGetNetworkParams and fpSystemFunction036 to avoid namespace ↵Yang Tse
pollution with static library
2009-11-11Add kernel32.libYang Tse
2009-11-10Mention last changesYang Tse
2009-11-10Reinstate copyright symbol lost in previous commitYang Tse
2009-11-10Make some strings different in resource file for debug or release buildsYang Tse
2009-11-10Ignore more subdirsYang Tse
2009-11-10Fix compiler warning: conditional expression is constantYang Tse
2009-11-10Sync linker and resource compiler options with Makefile.msvcYang Tse
2009-11-09Follow Makefile.msvc subdirectory naming scheme, and sync compiler optionsYang Tse
2009-11-09Updated MSVC makefile that allows building dynamic and staticYang Tse
c-ares libraries in debug and release flavours. Additionally each of the three sample programs is built against each of the four possible c-ares libraries, generating all this a total number of 12 executables and 4 libraries.
2009-11-09Test for USE_WINSOCK since it is more restrictive than WIN32Yang Tse
2009-11-09Make header inclusion depend on HAVE_*_H definitionYang Tse
2009-11-09Remove unneeded preprocessor directivesYang Tse
2009-11-05Adjust c-ares include paths for memory tracking enabled (--enable-curldebug) ↵Yang Tse
builds
2009-11-04source files used by sample programsYang Tse
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse
2009-11-02Adjust include paths to take in account that currently:Yang Tse
c-ares with --enable-curldebug uses memdebug.h from libcurl's lib subdirectory. memdebug.h needs access to libcurl's setup.h from libcurl's lib subdirectory and also needs access to libcurl's generated curl_config.h
2009-11-01Undo old temporary change once used for testing purposesYang Tse
2009-10-31Mention many changesYang Tse
2009-10-31Mention --enable-symbol-hiding configure optionYang Tse
2009-10-31Symbol hiding configure options renamed to the hopefully less ambiguousYang Tse
--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-30Header inclusion depending on HAVE_* symbol.Yang Tse
Fix two typos.
2009-10-30Comparison of the Initial revision of this file with ares_parse_a_reply.cYang Tse
shows that this one is actually a modified copy of ares_parse_a_reply.c. In order to comply with ares_parse_a_reply.c's M.I.T. license, the old 1998 M.I.T. copyright notice is now also preserved in this file the same as it is done in other ares_parse_*.c files.
2009-10-30Add CVS Id tag.Yang Tse
Fix identation of some license lines.
2009-10-30Add CVS Id tag.Yang Tse
2009-10-30Fix commentYang Tse
2009-10-30In no particular order, changed/fixed all of the following inYang Tse
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.