Yang Tse
3005e63b02
Make configure remove the ares_build.h file included in distribution tarballs.
2009-11-22 05:31:31 +00:00
Yang Tse
65e628cc97
Fix macro redefinition.
2009-11-22 03:51:07 +00:00
Yang Tse
738e547815
Fix name space pollution.
2009-11-22 03:41:26 +00:00
Yang Tse
5ec8a3ae06
Allow using different extra import libraries for debug and release builds.
2009-11-22 03:40:42 +00:00
Yang Tse
fdfbc5d8da
Add manifest stuff to msvc makefile
2009-11-21 13:28:07 +00:00
Yang Tse
c3266a5eb1
Sync man page with reality
2009-11-20 14:15:05 +00:00
Yang Tse
ced1e1e726
Add missing external API decoration for ares_set_socket_callback()
2009-11-20 14:11:06 +00:00
Yang Tse
6da73d09f1
Add ares_free_data() man page.
2009-11-20 13:02:41 +00:00
Yang Tse
4c0ffd33f5
- Provide in external interface preprocessor symbol definitions for
...
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
2009-11-20 13:01:35 +00:00
Yang Tse
99363a0ee1
Remove typecast
2009-11-20 09:57:25 +00:00
Yang Tse
71260534f9
Fix comment
2009-11-20 09:54:15 +00:00
Yang Tse
5e62be1d8c
Add ares_data.c and ares_data.h
2009-11-20 09:14:37 +00:00
Yang Tse
7e6a67b436
Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply() API
...
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-20 09:06:33 +00:00
Yang Tse
5a0a473c30
Initial support for the generic ares_free_data() function that will allow
...
applications to free memory allocated and returned by some c-ares funtions.
2009-11-20 08:50:03 +00:00
Yang Tse
59939313f8
Make usage of calloc()'s arguments consistent with rest of code base
2009-11-18 10:33:54 +00:00
Yang Tse
961c504ca5
workaround icc 9.1 optimizer issue
2009-11-18 02:57:34 +00:00
Yang Tse
69ac7b0cf8
Add icc fvisibility bug test
2009-11-16 23:01:37 +00:00
Yang Tse
09526fc9e9
Fix icc 9.0 compiler warning: external definition with no prior declaration
2009-11-16 20:02:12 +00:00
Yang Tse
7db7c0af4f
Fix three var names
2009-11-16 01:56:16 +00:00
Yang Tse
6bf10a111f
Add check for assert.h header file
2009-11-16 01:55:48 +00:00
Yang Tse
5b3be2ee35
getaddrinfo is fully thread safe on solaris versions which
...
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-15 13:43:15 +00:00
Yang Tse
0e80f0e4c4
Remove files generated on previous buildconf/configure run
2009-11-15 03:47:13 +00:00
Yang Tse
581ce03345
Remove enable-thread / disable-thread configure option. These were only placebo
...
options. The library is always built as thread safe as possible on every system.
2009-11-15 02:45:23 +00:00
Yang Tse
1cbc93fb54
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
2009-11-14 18:51:37 +00:00
Yang Tse
5e75817d44
Assume that getaddrinfo is thread safe, unless hard coded
...
knowledge says the contrary or h_errno is not defined.
2009-11-13 20:03:45 +00:00
Yang Tse
a7e4022d6b
Related with the threadsafe capability of getaddrinfo:
...
- 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-13 05:01:51 +00:00
Yang Tse
4999847625
AIX 5.2 and newer have threadsafe getaddrinfo.
...
Add some comments to better understand what the regex's pretend to achieve.
2009-11-12 22:48:40 +00:00
Yang Tse
d26a92493a
HP-UX 11.11 and later have threadsafe getaddrinfo
2009-11-12 20:29:28 +00:00
Yang Tse
c1f9440aca
Check if getaddrinfo is threadsafe when function check allows it to be used
2009-11-12 18:31:33 +00:00
Yang Tse
5d786d0e97
Renamed fpGetNetworkParams and fpSystemFunction036 to avoid namespace pollution with static library
2009-11-11 08:56:46 +00:00
Yang Tse
5f77eea408
Add kernel32.lib
2009-11-11 08:51:31 +00:00
Yang Tse
a0905ec0ab
Mention last changes
2009-11-10 22:07:32 +00:00
Yang Tse
d7470a3629
Reinstate copyright symbol lost in previous commit
2009-11-10 22:04:51 +00:00
Yang Tse
2287e7ba8b
Make some strings different in resource file for debug or release builds
2009-11-10 20:20:13 +00:00
Yang Tse
16a1e251cd
Ignore more subdirs
2009-11-10 20:05:10 +00:00
Yang Tse
1aa320dedb
Fix compiler warning: conditional expression is constant
2009-11-10 18:41:03 +00:00
Yang Tse
d17ce4e9f1
Sync linker and resource compiler options with Makefile.msvc
2009-11-10 18:26:09 +00:00
Yang Tse
50c3417686
Follow Makefile.msvc subdirectory naming scheme, and sync compiler options
2009-11-09 19:34:30 +00:00
Yang Tse
46f294dbb0
Updated MSVC makefile that allows building dynamic and static
...
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-09 13:24:11 +00:00
Yang Tse
d7231f54d7
Test for USE_WINSOCK since it is more restrictive than WIN32
2009-11-09 12:57:26 +00:00
Yang Tse
809f2a190c
Make header inclusion depend on HAVE_*_H definition
2009-11-09 12:56:50 +00:00
Yang Tse
4f62cdf6f9
Remove unneeded preprocessor directives
2009-11-09 12:56:11 +00:00
Yang Tse
02673a8900
Adjust c-ares include paths for memory tracking enabled (--enable-curldebug) builds
2009-11-05 17:44:29 +00:00
Yang Tse
1d8d389bce
source files used by sample programs
2009-11-04 14:24:47 +00:00
Yang Tse
108b414bb8
Renamed c-ares setup.h to ares_setup.h
2009-11-02 11:55:53 +00:00
Yang Tse
be7af8beaa
Adjust include paths to take in account that currently:
...
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-02 01:58:25 +00:00
Yang Tse
db1281fa9b
Undo old temporary change once used for testing purposes
2009-11-01 20:26:02 +00:00
Yang Tse
d8884168e3
Mention many changes
2009-10-31 12:52:44 +00:00
Yang Tse
5dd64e9e4b
Mention --enable-symbol-hiding configure option
2009-10-31 12:51:49 +00:00
Yang Tse
ce6731baf1
Symbol hiding configure options renamed to the hopefully less ambiguous
...
--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-31 04:16:40 +00:00