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
d4ff44d5f6
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.
2009-10-30 16:21:56 +00:00
Daniel Stenberg
950a034895
Jakub Hrozek added ares_parse_txt_reply() for TXT parsing
2009-10-29 08:59:40 +00:00
Yang Tse
654b6b6c63
Add reference for ares_parse_srv_reply.pdf
2009-10-29 02:40:16 +00:00
Yang Tse
3b908ed143
Add reference for ares_parse_srv_reply docs
2009-10-29 01:59:57 +00:00
Daniel Stenberg
2cf0f80e9f
- Jakub Hrozek added ares_parse_srv_reply() for SRV parsing
2009-09-04 21:56:14 +00:00
Yang Tse
4c979aa44f
Allow generation of .html and .pdf versions of c-ares man pages.
2009-05-21 17:40:19 +00:00
Yang Tse
7e85d2fbd4
Initial ares_library_cleanup(3) man page
2009-05-20 11:26:26 +00:00
Yang Tse
e3ead9f585
Initial ares_library_init(3) man page attempt
2009-05-19 19:00:28 +00:00
Yang Tse
2d64cd55a1
Introduction of ares_library_init() and ares_library_cleanup()
2009-05-17 17:11:28 +00:00
Yang Tse
1a2b88964f
Initial step towards a configure time ares_socklen_t definition
2009-04-28 16:47:33 +00:00
Daniel Stenberg
dff4ce92ad
the initial version of the ares_set_socket_callback man page
2008-12-04 12:54:43 +00:00
Daniel Stenberg
dd3594c6b3
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
...
Also discussed on the ml.
2008-12-03 09:59:50 +00:00
Daniel Stenberg
7383225271
- Brad Spencer brought the new function ares_gethostbyname_file() which simply
...
resolves a host name from the given file, using the regular hosts syntax.
2008-11-19 15:16:16 +00:00
Yang Tse
aa41743ebd
rearrange to allow internal/private use of ares_writev to any system
...
that lacks the writev function.
2008-09-16 16:42:48 +00:00
Yang Tse
8085c7a450
rearrange to allow internal/private use of ares_strcasecmp to any system that
...
lacks the strcasecmp function.
2008-09-15 15:28:26 +00:00
Yang Tse
802f1e4406
strdup() clone for systems/configurations which lack it
2008-09-11 04:02:49 +00:00
Yang Tse
d708ef6731
Use monotonic time source if available.
2008-05-09 16:30:24 +00:00
Daniel Stenberg
1a323390ec
oops
2007-11-21 10:12:06 +00:00
Yang Tse
b03abddb28
Avoid inline C99ism, and move c-ares routines for managing doubly-linked lists.
2007-10-02 02:18:01 +00:00
Daniel Stenberg
f5713dbb2e
ares_destroy_options() and ares_save_options() man pages by Brad House
2007-06-02 19:32:30 +00:00
Yang Tse
0563a7a923
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
2007-04-16 09:01:16 +00:00
Yang Tse
2364066be0
use ares_getopt for all platforms
2007-04-12 19:01:19 +00:00
Daniel Stenberg
7ba53a4f41
Vlad Dinulescu added ares_parse_ns_reply()
2007-02-19 14:06:11 +00:00
Daniel Stenberg
cf606d7da0
add missing man page
2006-08-14 07:21:33 +00:00
Yang Tse
77b3bc239d
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.
2006-07-28 14:19:02 +00:00
Daniel Stenberg
e5247ae65d
Added ares_getsock() to extract sockets to wait for action on, without being
...
limited to select().
2005-12-22 15:27:41 +00:00
Gunter Knauf
a47532f88a
fixed line endings so it works again with gnu make on Win32.
2005-08-10 16:54:00 +00:00
Dominick Meglio
645729e943
Added ares_getnameinfo which mimics the getnameinfo API
2005-05-16 18:06:54 +00:00
Dominick Meglio
7dded571de
Added an inet_ntop function from BIND for systems that do not have it
2005-05-14 18:35:20 +00:00
Daniel Stenberg
b685b5672a
added missing headers
2005-04-21 20:11:31 +00:00
Dominick Meglio
634982840e
Added preliminary IPv6 support to ares_gethostbyname
2005-04-08 19:46:46 +00:00
Gisle Vanem
dcf8dd4b5e
Moved inet_net_pton.h to HHEADERS.
2005-04-06 18:55:59 +00:00
Daniel Stenberg
41563607a8
moved the *_inet_pton protos to inet_net_pton.h instead
2005-04-06 14:02:37 +00:00
Dominick Meglio
60ec804047
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.
2005-04-05 18:26:55 +00:00
Daniel Stenberg
3b63ed8230
the ares_parse_aaaa_reply man page
2005-03-11 08:34:51 +00:00
Daniel Stenberg
db2370a12f
Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The
...
first little steps towards IPv6 support!
2005-03-10 23:30:34 +00:00
Daniel Stenberg
c85bf83e88
- 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.
2004-07-22 22:18:45 +00:00