summaryrefslogtreecommitdiff
path: root/ares/setup.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix commentYang Tse2009-10-271-4/+4
|
* Fix spellingYang Tse2009-10-271-1/+1
|
* Fix Pelles C Win32 target compilation issuesYang Tse2009-10-271-0/+6
|
* Fix ssize_t redefinition errors on WIN64 reported by Alexey SimakYang Tse2009-10-061-6/+0
|
* renamed generated config.h to ares_config.h in order to avoid clashes when ↵Gunter Knauf2009-07-141-2/+2
| | | | libcurl is used with other projects which also have a config.h.
* Initial step towards a configure time ares_socklen_t definitionYang Tse2009-04-281-1/+33
|
* Don't tweak the HAVE_* macros when using autoconfDan Fandrich2008-11-281-16/+12
|
* rearrange to allow internal/private use of ares_strcasecmp to any system thatYang Tse2008-09-151-13/+0
| | | | lacks the strcasecmp function.
* strdup() clone for systems/configurations which lack itYang Tse2008-09-111-5/+0
|
* Update copyright year.Yang Tse2008-07-301-1/+1
|
* Sync comment with reality.Yang Tse2008-07-301-1/+1
|
* setup.h handles definition of _REENTRANT based on NEED_REENTRANTYang Tse2008-07-271-3/+5
| | | | definition which might be defined in config.h or config-*.h files
* Allow --enable-largefile and --disable-largefile configurations.Yang Tse2008-07-151-0/+10
| | | | | Configure process no longer needs nor checks size of curl_off_t. Library will now be built with _REENTRANT symbol defined.
* Define WIN32 when build target is Win32 API.Yang Tse2007-11-081-6/+4
| | | | This also defines it for WinCE even though it is a subset of WIN32.
* Windows build targets have socklen_t definition in ws2tcpip.h but someYang Tse2007-10-241-4/+0
| | | | | | | versions of ws2tcpip.h do not have the definition. It seems that when the socklen_t definition is missing from ws2tcpip.h the definition for INET_ADDRSTRLEN is also missing, and that when one definition is present the other one also is available.
* Brad House fixed VS2005 compiler warnings due to time_t being 64bit.Daniel Stenberg2007-06-021-0/+5
| | | | He also made recent Microsoft compilers use _strdup() instead of strdup().
* added ares_process_fd() to allow applications to ask for processing onDaniel Stenberg2007-05-301-13/+1
| | | | | | | specific sockets and thus avoiding select() and associated functions/macros. This function will be used by upcoming libcurl releases for this very reason. It also made me export the ares_socket_t type in the public ares.h header file, since ares_process_fd() uses that type for two of the arguments.
* Support for OpenWatcom (Win32): It do have getpid(), but noGisle Vanem2007-01-301-1/+1
| | | | <sys/time.h>.
* Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse2006-10-181-1/+1
| | | | to verify winsock API availability.
* Introduce symbol USE_WINSOCK which will be defined whenYang Tse2006-10-181-0/+16
| | | | using winsock or winsock2 API.
* Avoid redundant check. configure script takes care of not definingYang Tse2006-08-041-2/+4
| | | | | HAVE_WINDOWS_H, HAVE_WINSOCK_H, HAVE_WINSOCK2_H, neither HAVE_WS2TCPIP_H when __CYGWIN__ is defined.
* First step trying to avoid the multiple header inclusion and recursion ↵Yang Tse2006-07-281-0/+8
| | | | | | nightmare. Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
* Added CVS id.Gisle Vanem2006-07-221-1/+1
|
* Added CVS id.Gisle Vanem2006-07-221-0/+2
|
* Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows ↵Yang Tse2006-07-051-2/+4
| | | | headers when compiled with Cygwin in POSIX emulation mode.
* Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence theGisle Vanem2005-12-201-10/+11
| | | | rearrangement in ares_process.c.
* Fix typoYang Tse2005-12-171-1/+1
|
* Windows related cleanupYang Tse2005-12-171-26/+55
|
* 'Fix' windows buildsYang Tse2005-12-161-2/+28
|
* Use config-win32.h on Windows. Fixes for djgpp.Gisle Vanem2005-11-101-2/+9
|
* MSVC fix for 'socklen_t'. Replace <winsock.h> with <winsock2.h> +Gisle Vanem2005-11-091-1/+4
| | | | <ws2tcpip.h> since IPv6 is no longer optional (was it ever?)
* Added ares_getnameinfo which mimics the getnameinfo APIDominick Meglio2005-05-161-0/+1
|
* moved the *_inet_pton protos to inet_net_pton.h insteadDaniel Stenberg2005-04-061-22/+0
|
* made the ares_inet_net_pton() proto use size_t size, as the function in theDaniel Stenberg2005-04-061-1/+1
| | | | code uses that
* Provided implementations of inet_net_pton and inet_pton from BIND for ↵Dominick Meglio2005-04-051-0/+11
| | | | systems that do not include these functions. These will be necessary for CIDR support and IPv6 support.
* Prevent redefinition warning with CURLDEBUG.Gisle Vanem2005-03-221-1/+1
|
* Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. TheDaniel Stenberg2005-03-101-3/+23
| | | | first little steps towards IPv6 support!
* No <sys/uio.h> on DOS/Win32Gisle Vanem2004-08-201-7/+1
|
* Changes for Watt-32 on Windows. I've assumed ConfigureGisle Vanem2004-08-201-1/+34
| | | | sets the required HAVE_xx defines for non-DOS/Win targets.
* Gisle Vanem:Daniel Stenberg2004-07-241-0/+1
| | | | | | | | | | | | | Basically in loops like handle_errors(), 'query->next' was assigned a local variable and then query was referenced after the memory was freed by next_server(). I've changed that so next_server() and end_query() returns the next query. So callers should use this ret-value. The next problem was that 'server->tcp_buffer_pos' had a random value at entry to 1st recv() (luckily causing Winsock to return ENOBUFS). I've also added a ares_writev() for Windows to streamline the code a bit more.
* - Fixed a few variable return types for some system calls. Made configureDaniel Stenberg2004-07-221-0/+44
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.