Yang Tse
ef5390e6bb
winsock: compilation fixes
...
Provide winsock iphlpapi alternative definitions to prevent compilation
failures when using a variety of winsock header implementations.
14 years ago
Yang Tse
5b6a188909
build: move platform stuff to ares_platform.c and ares_platform.h
14 years ago
Yang Tse
822fd0f877
build: use getenv() replacement function for systems which lack it
14 years ago
Yang Tse
e566cc100f
build: include ares_nowarn among SAMPLESOURCES and SAMPLEHEADERS
14 years ago
Jérémy Lal
63918fca76
added ares_parse_mx_reply
15 years ago
Yang Tse
8fe746fcf2
Added IPv6 name servers support
15 years ago
Gisle Vanem
249fc61b8c
Ops!. Readded ares_nowarn.h.
15 years ago
Gisle Vanem
53bf47a140
Added ares_nowarn.c.
15 years ago
Yang Tse
86718e2f52
fix compiler warning
15 years ago
Yang Tse
d1151affce
Add ares_free_data() man page.
15 years ago
Yang Tse
2a916ce6e5
Initial support for the generic ares_free_data() function that will allow
...
applications to free memory allocated and returned by some c-ares funtions.
15 years ago
Yang Tse
e057b523af
source files used by sample programs
15 years ago
Yang Tse
a82a8fbf82
Renamed c-ares setup.h to ares_setup.h
15 years ago
Yang Tse
cef06973a2
In no particular order, changed/fixed all of the following in
...
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.
15 years ago
Daniel Stenberg
9cbd5ed034
Jakub Hrozek added ares_parse_txt_reply() for TXT parsing
15 years ago
Yang Tse
991c93cf54
Add reference for ares_parse_srv_reply.pdf
15 years ago
Yang Tse
539ffc7b40
Add reference for ares_parse_srv_reply docs
15 years ago
Daniel Stenberg
a5b204dd5b
- Jakub Hrozek added ares_parse_srv_reply() for SRV parsing
15 years ago
Yang Tse
ba2217050b
Allow generation of .html and .pdf versions of c-ares man pages.
16 years ago
Yang Tse
dec9775cd6
Initial ares_library_cleanup(3) man page
16 years ago
Yang Tse
8e55839216
Initial ares_library_init(3) man page attempt
16 years ago
Yang Tse
b7c7bab713
Introduction of ares_library_init() and ares_library_cleanup()
16 years ago
Yang Tse
5fc305a0ba
Initial step towards a configure time ares_socklen_t definition
16 years ago
Daniel Stenberg
9117775d49
the initial version of the ares_set_socket_callback man page
16 years ago
Daniel Stenberg
e61d4b9e21
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
...
Also discussed on the ml.
16 years ago
Daniel Stenberg
8a6b51d560
- Brad Spencer brought the new function ares_gethostbyname_file() which simply
...
resolves a host name from the given file, using the regular hosts syntax.
16 years ago
Yang Tse
1a9795b401
rearrange to allow internal/private use of ares_writev to any system
...
that lacks the writev function.
16 years ago
Yang Tse
746f3e2942
rearrange to allow internal/private use of ares_strcasecmp to any system that
...
lacks the strcasecmp function.
16 years ago
Yang Tse
797372b0f4
strdup() clone for systems/configurations which lack it
16 years ago
Yang Tse
0848b4fdaa
Use monotonic time source if available.
17 years ago
Daniel Stenberg
f4be2e0cbb
oops
17 years ago
Yang Tse
343d6f221f
Avoid inline C99ism, and move c-ares routines for managing doubly-linked lists.
17 years ago
Daniel Stenberg
1ea96cf8dd
ares_destroy_options() and ares_save_options() man pages by Brad House
18 years ago
Yang Tse
bba777d6da
ares_getopt() command-line parser function does not belong to actual
...
c-ares library. It is just a convinience source code helper function
for use in example programs adig.c and ahost.c
18 years ago
Yang Tse
088a4d923a
use ares_getopt for all platforms
18 years ago
Daniel Stenberg
c1bc4c19be
Vlad Dinulescu added ares_parse_ns_reply()
18 years ago
Daniel Stenberg
70a27de3c5
add missing man page
19 years ago
Yang Tse
b05a63758c
First step trying to avoid the multiple header inclusion and recursion nightmare.
...
Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
19 years ago
Daniel Stenberg
8d63eb75a9
Added ares_getsock() to extract sockets to wait for action on, without being
...
limited to select().
19 years ago
Gunter Knauf
3badf06f02
fixed line endings so it works again with gnu make on Win32.
20 years ago
Dominick Meglio
aba0b775ea
Added ares_getnameinfo which mimics the getnameinfo API
20 years ago
Dominick Meglio
eeb6aa6b01
Added an inet_ntop function from BIND for systems that do not have it
20 years ago
Daniel Stenberg
b6f7715488
added missing headers
20 years ago
Dominick Meglio
00b7a550b5
Added preliminary IPv6 support to ares_gethostbyname
20 years ago
Gisle Vanem
cc2b7d053b
Moved inet_net_pton.h to HHEADERS.
20 years ago
Daniel Stenberg
e10e4843c6
moved the *_inet_pton protos to inet_net_pton.h instead
20 years ago
Dominick Meglio
ffb4cf5554
Provided implementations of inet_net_pton and inet_pton from BIND for systems that do not include these functions. These will be necessary for CIDR support and IPv6 support.
20 years ago
Daniel Stenberg
e1e80ecdd6
the ares_parse_aaaa_reply man page
20 years ago
Daniel Stenberg
9586905220
Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The
...
first little steps towards IPv6 support!
20 years ago
Daniel Stenberg
d5f3636a52
- Fixed a few variable return types for some system calls. Made configure
...
check for ssize_t to make it possible to use that when receiving the send()
error code. This is necessary to prevent compiler warnings on some systems.
- Made configure create config.h, and all source files now include setup.h that
might include the proper config.h (or a handicrafted alternative).
- Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
use 'int' for that.
- automake-ified and libool-ified c-ares. Now it builds libcares as a shared
lib on most platforms if wanted. (This bloated the size of the release
archive with another 200K!)
- Makefile.am now uses Makefile.inc for the c sources, h headers and man
pages, to make it easier for other makefiles to use the exact same set of
files.
- Adjusted 'maketgz' to use the new automake magic when building distribution
archives.
21 years ago