Timothee 'TTimo' Besset fb1609f554 hello world 13 лет назад
..
Makefile.am fb1609f554 hello world 13 лет назад
Makefile.b32 fb1609f554 hello world 13 лет назад
Makefile.b32.resp fb1609f554 hello world 13 лет назад
Makefile.in fb1609f554 hello world 13 лет назад
Makefile.m32 fb1609f554 hello world 13 лет назад
Makefile.netware fb1609f554 hello world 13 лет назад
Makefile.riscos fb1609f554 hello world 13 лет назад
Makefile.vc6 fb1609f554 hello world 13 лет назад
README.ares fb1609f554 hello world 13 лет назад
README.encoding fb1609f554 hello world 13 лет назад
README.memoryleak fb1609f554 hello world 13 лет назад
amigaos.c fb1609f554 hello world 13 лет назад
amigaos.h fb1609f554 hello world 13 лет назад
arpa_telnet.h fb1609f554 hello world 13 лет назад
base64.c fb1609f554 hello world 13 лет назад
base64.h fb1609f554 hello world 13 лет назад
ca-bundle.crt fb1609f554 hello world 13 лет назад
ca-bundle.h fb1609f554 hello world 13 лет назад
config-amigaos.h fb1609f554 hello world 13 лет назад
config-mac.h fb1609f554 hello world 13 лет назад
config-netware.h fb1609f554 hello world 13 лет назад
config-riscos.h fb1609f554 hello world 13 лет назад
config-vms.h fb1609f554 hello world 13 лет назад
config-win32.h fb1609f554 hello world 13 лет назад
config.dj fb1609f554 hello world 13 лет назад
config.h.in fb1609f554 hello world 13 лет назад
connect.c fb1609f554 hello world 13 лет назад
connect.h fb1609f554 hello world 13 лет назад
content_encoding.c fb1609f554 hello world 13 лет назад
content_encoding.h fb1609f554 hello world 13 лет назад
cookie.c fb1609f554 hello world 13 лет назад
cookie.h fb1609f554 hello world 13 лет назад
curllib.dsp fb1609f554 hello world 13 лет назад
curllib.dsw fb1609f554 hello world 13 лет назад
curllib.vcproj fb1609f554 hello world 13 лет назад
dict.c fb1609f554 hello world 13 лет назад
dict.h fb1609f554 hello world 13 лет назад
easy.c fb1609f554 hello world 13 лет назад
escape.c fb1609f554 hello world 13 лет назад
escape.h fb1609f554 hello world 13 лет назад
file.c fb1609f554 hello world 13 лет назад
file.h fb1609f554 hello world 13 лет назад
formdata.c fb1609f554 hello world 13 лет назад
formdata.h fb1609f554 hello world 13 лет назад
ftp.c fb1609f554 hello world 13 лет назад
ftp.h fb1609f554 hello world 13 лет назад
getdate.c fb1609f554 hello world 13 лет назад
getdate.h fb1609f554 hello world 13 лет назад
getdate.y fb1609f554 hello world 13 лет назад
getenv.c fb1609f554 hello world 13 лет назад
getinfo.c fb1609f554 hello world 13 лет назад
getinfo.h fb1609f554 hello world 13 лет назад
hash.c fb1609f554 hello world 13 лет назад
hash.h fb1609f554 hello world 13 лет назад
hostip.c fb1609f554 hello world 13 лет назад
hostip.h fb1609f554 hello world 13 лет назад
http.c fb1609f554 hello world 13 лет назад
http.h fb1609f554 hello world 13 лет назад
http_chunks.c fb1609f554 hello world 13 лет назад
http_chunks.h fb1609f554 hello world 13 лет назад
http_digest.c fb1609f554 hello world 13 лет назад
http_digest.h fb1609f554 hello world 13 лет назад
http_negotiate.c fb1609f554 hello world 13 лет назад
http_negotiate.h fb1609f554 hello world 13 лет назад
http_ntlm.c fb1609f554 hello world 13 лет назад
http_ntlm.h fb1609f554 hello world 13 лет назад
if2ip.c fb1609f554 hello world 13 лет назад
if2ip.h fb1609f554 hello world 13 лет назад
inet_ntoa_r.h fb1609f554 hello world 13 лет назад
inet_pton.c fb1609f554 hello world 13 лет назад
inet_pton.h fb1609f554 hello world 13 лет назад
krb4.c fb1609f554 hello world 13 лет назад
krb4.h fb1609f554 hello world 13 лет назад
ldap.c fb1609f554 hello world 13 лет назад
ldap.h fb1609f554 hello world 13 лет назад
libcurl.def fb1609f554 hello world 13 лет назад
libcurl.framework.make fb1609f554 hello world 13 лет назад
libcurl.imp fb1609f554 hello world 13 лет назад
libcurl.plist fb1609f554 hello world 13 лет назад
libcurl.rc fb1609f554 hello world 13 лет назад
llist.c fb1609f554 hello world 13 лет назад
llist.h fb1609f554 hello world 13 лет назад
makefile.amiga fb1609f554 hello world 13 лет назад
makefile.dj fb1609f554 hello world 13 лет назад
md5.c fb1609f554 hello world 13 лет назад
md5.h fb1609f554 hello world 13 лет назад
memdebug.c fb1609f554 hello world 13 лет назад
memdebug.h fb1609f554 hello world 13 лет назад
mprintf.c fb1609f554 hello world 13 лет назад
multi.c fb1609f554 hello world 13 лет назад
netrc.c fb1609f554 hello world 13 лет назад
netrc.h fb1609f554 hello world 13 лет назад
nwlib.c fb1609f554 hello world 13 лет назад
progress.c fb1609f554 hello world 13 лет назад
progress.h fb1609f554 hello world 13 лет назад
security.c fb1609f554 hello world 13 лет назад
security.h fb1609f554 hello world 13 лет назад
sendf.c fb1609f554 hello world 13 лет назад
sendf.h fb1609f554 hello world 13 лет назад
setup.h fb1609f554 hello world 13 лет назад
share.c fb1609f554 hello world 13 лет назад
share.h fb1609f554 hello world 13 лет назад
speedcheck.c fb1609f554 hello world 13 лет назад
speedcheck.h fb1609f554 hello world 13 лет назад
ssluse.c fb1609f554 hello world 13 лет назад
ssluse.h fb1609f554 hello world 13 лет назад
strequal.c fb1609f554 hello world 13 лет назад
strequal.h fb1609f554 hello world 13 лет назад
strtok.c fb1609f554 hello world 13 лет назад
strtok.h fb1609f554 hello world 13 лет назад
strtoofft.c fb1609f554 hello world 13 лет назад
strtoofft.h fb1609f554 hello world 13 лет назад
telnet.c fb1609f554 hello world 13 лет назад
telnet.h fb1609f554 hello world 13 лет назад
timeval.c fb1609f554 hello world 13 лет назад
timeval.h fb1609f554 hello world 13 лет назад
transfer.c fb1609f554 hello world 13 лет назад
transfer.h fb1609f554 hello world 13 лет назад
url.c fb1609f554 hello world 13 лет назад
url.h fb1609f554 hello world 13 лет назад
urldata.h fb1609f554 hello world 13 лет назад
version.c fb1609f554 hello world 13 лет назад

README.ares

$Id: README.ares,v 1.9 2004/01/09 07:45:47 bagder Exp $
_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
| (__| |_| | _ <| |___
\___|\___/|_| \_\_____|

How To Build libcurl to Use ares For Asynch Name Resolves
=========================================================

ares:
ftp://athena-dist.mit.edu/pub/ATHENA/ares/ares-1.1.1.tar.gz
http://curl.haxx.se/dev/ares-1.1.1.tar.gz
http://curl.sourceforge.net/dev/ares-1.1.1.tar.gz
http://curl.planetmirror.com/dev/ares-1.1.1.tar.gz
http://curl.tsuren.net/dev/ares-1.1.1.tar.gz

c-ares: (a patched and improved version of ares)
http://curl.haxx.se/beta/arescurl-1.0-pre1.tar.gz

NOTE
libcurl works with ares 1.1.1, but several patches and improvements have
been put into the c-ares package which has made it more portable and better
working on several platforms.

Build ares
==========

1. unpack the ares archive
2. cd ares-dir
3. ./configure
4. make

Build libcurl to use ares in the curl source tree
=================================================

1. name the ares source directory 'ares' in the curl source directory
2. ./configure --enable-ares
3. make

Build libcurl to use an installed ares
======================================

1. ./configure --enable-ares=/path/to/ares/install
2. make

Ares and ipv6
=============

If the configure script enables IPv6 support you need to explicitly disable
that (--disable-ipv6) since ares isn't IPv6 compatible (yet).

Ares on win32
=============
(description brought by Dominick Meglio)

First I compiled curl-ares. I changed the default C runtime library to be the
single-threaded rather than the multi-threaded (this seems to be required to
prevent linking errors later on). Then I simply build the areslib project (the
other projects adig/ahost seem to fail under MSVC).

Next was libcurl. I opened lib/config-win32.h and I added a:
#define USE_ARES 1

Next thing I did was I added the path for the ares includes to the include
path, and the libares.lib to the libraries.

Lastly, I also changed libcurl to be single-threaded rather than
multi-threaded, again this was to prevent some duplicate symbol errors. I'm
not sure why I needed to change everything to single-threaded, but when I
didn't I got redefinition errors for several CRT functions (malloc, stricmp,
etc.)

I would have modified the MSVC++ project files, but I only have VC.NET and it
uses a different format than VC6.0 so I didn't want to go and change
everything and remove VC6.0 support from libcurl.