Alex Loukissas
df55bfac79
build: fix build on msvc11
12 years ago
Daniel Stenberg
cf7ad9758d
ares_inet_pton/ntop: cleanup
...
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.
12 years ago
Daniel Stenberg
ee9a1c2457
ares_inet_ntop/ares_inet_pton: added man pages
12 years ago
hpopescu@ixiacom.com
90364defb0
Added new feature (rfc2671)
12 years ago
Marko Kreen
979bf951d3
SOA parser added
...
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
13 years ago
saghul
6bab0393c4
Added support for parsing NAPTR records
13 years ago
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