summaryrefslogtreecommitdiff
path: root/ares_library_init.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-22library init: be recursiveAlexander Klauer1-1/+6
Previously, a single call to ares_library_cleanup() would deinitialise the c-ares library, regardless of how many times ares_library_init() was called. This behaviour may cause problems in programs linking two or more libraries which, in turn, use c-ares. The present commit fixes this problem, deinitializing the library only after a number of calls to ares_library_cleanup() matching the number of calls to ares_library_init().
2011-05-17IPv6-on-windows: find DNS servers correctlyDavid Stuart1-0/+10
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2009-11-11Renamed fpGetNetworkParams and fpSystemFunction036 to avoid namespace ↵Yang Tse1-5/+5
pollution with static library
2009-11-09Test for USE_WINSOCK since it is more restrictive than WIN32Yang Tse1-5/+5
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2009-05-28Remove temporarily introduced memory leak.Yang Tse1-3/+0
2009-05-27Temporarily introduce a memory leak to verify curl debug memory tracking works.Yang Tse1-0/+3
2009-05-26Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZEDYang Tse1-0/+11
if library initialization has not been performed calling ares_library_init().
2009-05-19Add same copyright notice as other c-ares filesYang Tse1-0/+16
2009-05-19Fix caseYang Tse1-1/+1
2009-05-18Remove run-time requirement for advapi32.dll sinceYang Tse1-12/+9
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-6/+6
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-17Introduction of ares_library_init() and ares_library_cleanup()Yang Tse1-0/+109