summaryrefslogtreecommitdiff
path: root/lib/hostip4.c
Commit message (Collapse)AuthorAgeFilesLines
...
* compiler warning fixYang Tse2007-02-021-2/+4
|
* Update copyright year, since the file has been modifiedYang Tse2006-10-271-1/+1
|
* Avoid Metaware's High-C warning "'=' encountered where '==' may have been ↵Gisle Vanem2006-08-291-1/+1
| | | | intended."
* moved ugly NetWare hack to hostip.h so that hostip.c uses it too.Gunter Knauf2006-08-081-5/+0
|
* Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H ↵Yang Tse2006-07-251-1/+1
| | | | shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
* Moved functions common to IPv4 and C-ares to hostip.c;Gisle Vanem2006-07-251-60/+0
| | | | Curl_freeaddrinfo() and Curl_ip2addr().
* Constify arguments to Curl_he2ai() and Curl_addrinfo_copy().Gisle Vanem2006-07-211-1/+1
|
* Constify 'hostname' and 'service' to various resolver functions.Gisle Vanem2006-07-211-2/+2
|
* Changes for combination ENABLE_IPV6 and USE_ARES.Gisle Vanem2006-07-211-7/+7
|
* Change the ai_addrlen type of struct addrinfo from size_t to socklen_t, per ↵Yang Tse2006-07-141-22/+28
| | | | RFC 3493.
* include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.Yang Tse2006-07-111-1/+1
|
* Use the HAVE_MALLOC_H and HAVE_PROCESS_H definesGisle Vanem2006-04-261-4/+3
| | | | (more logical).
* keep 'socktype' in the connectdata struct and make sure we use that for allDaniel Stenberg2005-09-161-4/+4
| | | | protocol sockets even if the resolved address may say otherwise
* John Kelly added TFTP support to libcurl. A bunch of new error codes wasDaniel Stenberg2005-09-021-1/+5
| | | | | added. TODO: add them to docs. add TFTP server to test suite. add TFTP to list of protocols whereever those are mentioned.
* avoid the sensitive word as it looks bad in some people's eyesDaniel Stenberg2005-05-271-3/+2
|
* only define _REENTRANT if not already defined, and only in setup.hDaniel Stenberg2005-04-191-2/+0
|
* Updated the copyright year since changes have been this year.Daniel Stenberg2005-03-311-1/+1
|
* use Curl_inet_pton(), not inet_pton().Daniel Stenberg2005-03-171-1/+1
|
* - Tru64 and some IRIX boxes seem to not like test 237 as it is. TheirDaniel Stenberg2005-03-161-3/+2
| | | | | | | | inet_addr() functions seems to use &255 on all numericals in a ipv4 dotted address which makes a different failure... Now I've modified the ipv4 resolve code to use inet_pton() instead in an attempt to make these systems better detect this as a bad IP address rather than creating a toally bogus address that is then passed on and used.
* avoid warnings on systems with this member set constDaniel Stenberg2004-10-061-1/+1
|
* removed tabs and trailing whitespace from sourceDaniel Stenberg2004-10-061-2/+2
|
* simplified the check for when to free() the buf dataDaniel Stenberg2004-06-301-2/+2
|
* Gisle fixed a bad free from the resolve reorg, I changed type of the bufDaniel Stenberg2004-06-291-3/+7
| | | | variable to sort out some compiler warnings.
* ah, simplified my latest change moreDaniel Stenberg2004-06-241-7/+0
|
* fix for systems without gethostbyname_r()Daniel Stenberg2004-06-241-6/+3
|
* made the Curl_he2ai() take the port number as an int intead, to avoid lotsDaniel Stenberg2004-06-241-1/+1
| | | | of typecasts all over
* use Curl_addrinfo, not 'struct addrinfo'Daniel Stenberg2004-06-241-2/+2
|
* Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg2004-06-241-112/+168
| | | | | linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
* curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg2004-05-111-2/+1
| | | | memory.h is included everywhere for this.
* Curl_ip2addr() now takes an in_addr_t argument instead to prevent compilerDaniel Stenberg2004-04-261-1/+1
| | | | warnings
* Major hostip.c cleanup and split into multiple files and easier #ifdefDaniel Stenberg2004-04-261-0/+400
usage.