FolusWen d3fe109468 [Improve][GPL][curl] 2 years ago
..
.deps d3fe109468 [Improve][GPL][curl] 2 years ago
10-at-a-time.c d3fe109468 [Improve][GPL][curl] 2 years ago
Makefile d3fe109468 [Improve][GPL][curl] 2 years ago
Makefile.am d3fe109468 [Improve][GPL][curl] 2 years ago
Makefile.example d3fe109468 [Improve][GPL][curl] 2 years ago
Makefile.in d3fe109468 [Improve][GPL][curl] 2 years ago
Makefile.inc d3fe109468 [Improve][GPL][curl] 2 years ago
Makefile.m32 d3fe109468 [Improve][GPL][curl] 2 years ago
Makefile.netware d3fe109468 [Improve][GPL][curl] 2 years ago
README d3fe109468 [Improve][GPL][curl] 2 years ago
anyauthput.c d3fe109468 [Improve][GPL][curl] 2 years ago
asiohiper.cpp d3fe109468 [Improve][GPL][curl] 2 years ago
cacertinmem.c d3fe109468 [Improve][GPL][curl] 2 years ago
certinfo.c d3fe109468 [Improve][GPL][curl] 2 years ago
chkspeed.c d3fe109468 [Improve][GPL][curl] 2 years ago
cookie_interface.c d3fe109468 [Improve][GPL][curl] 2 years ago
crawler.c d3fe109468 [Improve][GPL][curl] 2 years ago
curlgtk.c d3fe109468 [Improve][GPL][curl] 2 years ago
curlx.c d3fe109468 [Improve][GPL][curl] 2 years ago
debug.c d3fe109468 [Improve][GPL][curl] 2 years ago
ephiperfifo.c d3fe109468 [Improve][GPL][curl] 2 years ago
evhiperfifo.c d3fe109468 [Improve][GPL][curl] 2 years ago
externalsocket.c d3fe109468 [Improve][GPL][curl] 2 years ago
fileupload.c d3fe109468 [Improve][GPL][curl] 2 years ago
fopen.c d3fe109468 [Improve][GPL][curl] 2 years ago
ftp-wildcard.c d3fe109468 [Improve][GPL][curl] 2 years ago
ftpget.c d3fe109468 [Improve][GPL][curl] 2 years ago
ftpgetinfo.c d3fe109468 [Improve][GPL][curl] 2 years ago
ftpgetresp.c d3fe109468 [Improve][GPL][curl] 2 years ago
ftpsget.c d3fe109468 [Improve][GPL][curl] 2 years ago
ftpupload.c d3fe109468 [Improve][GPL][curl] 2 years ago
ftpuploadfrommem.c d3fe109468 [Improve][GPL][curl] 2 years ago
ftpuploadresume.c d3fe109468 [Improve][GPL][curl] 2 years ago
getinfo.c d3fe109468 [Improve][GPL][curl] 2 years ago
getinmemory.c d3fe109468 [Improve][GPL][curl] 2 years ago
getredirect.c d3fe109468 [Improve][GPL][curl] 2 years ago
ghiper.c d3fe109468 [Improve][GPL][curl] 2 years ago
hiperfifo.c d3fe109468 [Improve][GPL][curl] 2 years ago
href_extractor.c d3fe109468 [Improve][GPL][curl] 2 years ago
htmltidy.c d3fe109468 [Improve][GPL][curl] 2 years ago
htmltitle.cpp d3fe109468 [Improve][GPL][curl] 2 years ago
http-post.c d3fe109468 [Improve][GPL][curl] 2 years ago
http2-download.c d3fe109468 [Improve][GPL][curl] 2 years ago
http2-serverpush.c d3fe109468 [Improve][GPL][curl] 2 years ago
http2-upload.c d3fe109468 [Improve][GPL][curl] 2 years ago
httpcustomheader.c d3fe109468 [Improve][GPL][curl] 2 years ago
httpput.c d3fe109468 [Improve][GPL][curl] 2 years ago
https.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-append.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-copy.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-create.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-delete.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-examine.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-fetch.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-list.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-lsub.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-multi.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-noop.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-search.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-ssl.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-store.c d3fe109468 [Improve][GPL][curl] 2 years ago
imap-tls.c d3fe109468 [Improve][GPL][curl] 2 years ago
makefile.dj d3fe109468 [Improve][GPL][curl] 2 years ago
multi-app.c d3fe109468 [Improve][GPL][curl] 2 years ago
multi-debugcallback.c d3fe109468 [Improve][GPL][curl] 2 years ago
multi-double.c d3fe109468 [Improve][GPL][curl] 2 years ago
multi-formadd.c d3fe109468 [Improve][GPL][curl] 2 years ago
multi-post.c d3fe109468 [Improve][GPL][curl] 2 years ago
multi-single.c d3fe109468 [Improve][GPL][curl] 2 years ago
multi-uv.c d3fe109468 [Improve][GPL][curl] 2 years ago
multithread.c d3fe109468 [Improve][GPL][curl] 2 years ago
opensslthreadlock.c d3fe109468 [Improve][GPL][curl] 2 years ago
persistant.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-dele.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-list.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-multi.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-noop.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-retr.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-ssl.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-stat.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-tls.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-top.c d3fe109468 [Improve][GPL][curl] 2 years ago
pop3-uidl.c d3fe109468 [Improve][GPL][curl] 2 years ago
post-callback.c d3fe109468 [Improve][GPL][curl] 2 years ago
postinmemory.c d3fe109468 [Improve][GPL][curl] 2 years ago
postit2-formadd.c d3fe109468 [Improve][GPL][curl] 2 years ago
postit2.c d3fe109468 [Improve][GPL][curl] 2 years ago
progressfunc.c d3fe109468 [Improve][GPL][curl] 2 years ago
resolve.c d3fe109468 [Improve][GPL][curl] 2 years ago
rtsp.c d3fe109468 [Improve][GPL][curl] 2 years ago
sampleconv.c d3fe109468 [Improve][GPL][curl] 2 years ago
sendrecv.c d3fe109468 [Improve][GPL][curl] 2 years ago
sepheaders.c d3fe109468 [Improve][GPL][curl] 2 years ago
sessioninfo.c d3fe109468 [Improve][GPL][curl] 2 years ago
sftpget.c d3fe109468 [Improve][GPL][curl] 2 years ago
sftpuploadresume.c d3fe109468 [Improve][GPL][curl] 2 years ago
shared-connection-cache.c d3fe109468 [Improve][GPL][curl] 2 years ago
simple.c d3fe109468 [Improve][GPL][curl] 2 years ago
simplepost.c d3fe109468 [Improve][GPL][curl] 2 years ago
simplessl.c d3fe109468 [Improve][GPL][curl] 2 years ago
smooth-gtk-thread.c d3fe109468 [Improve][GPL][curl] 2 years ago
smtp-expn.c d3fe109468 [Improve][GPL][curl] 2 years ago
smtp-mail.c d3fe109468 [Improve][GPL][curl] 2 years ago
smtp-mime.c d3fe109468 [Improve][GPL][curl] 2 years ago
smtp-multi.c d3fe109468 [Improve][GPL][curl] 2 years ago
smtp-ssl.c d3fe109468 [Improve][GPL][curl] 2 years ago
smtp-tls.c d3fe109468 [Improve][GPL][curl] 2 years ago
smtp-vrfy.c d3fe109468 [Improve][GPL][curl] 2 years ago
sslbackend.c d3fe109468 [Improve][GPL][curl] 2 years ago
synctime.c d3fe109468 [Improve][GPL][curl] 2 years ago
threaded-shared-conn.c d3fe109468 [Improve][GPL][curl] 2 years ago
threaded-ssl.c d3fe109468 [Improve][GPL][curl] 2 years ago
url2file.c d3fe109468 [Improve][GPL][curl] 2 years ago
usercertinmem.c d3fe109468 [Improve][GPL][curl] 2 years ago
version-check.pl d3fe109468 [Improve][GPL][curl] 2 years ago
xmlstream.c d3fe109468 [Improve][GPL][curl] 2 years ago

README

_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
| (__| |_| | _ <| |___
\___|\___/|_| \_\_____|

This directory is for libcurl programming examples. They are meant to show
some simple steps on how you can build your own application to take full
advantage of libcurl.

If you end up with other small but still useful example sources, please mail
them for submission in future packages and on the web site.

BUILDING

The Makefile.example is an example makefile that could be used to build these
examples. Just edit the file according to your system and requirements first.

Most examples should build fine using a command line like this:

$ `curl-config --cc --cflags --libs` -o example example.c

Some compilers don't like having the arguments in this order but instead
want you do reorganize them like:

$ `curl-config --cc` -o example example.c `curl-config --cflags --libs`

*PLEASE* do not use the curl.haxx.se site as a test target for your libcurl
applications/experiments. Even if some of the examples use that site as a URL
at some places, it doesn't mean that the URLs work or that we expect you to
actually torture our web site with your tests! Thanks.

EXAMPLES

Each example source code file is designed to be and work stand-alone and
rather self-explanatory. The examples may at times lack the level of error
checks you need in a real world, but that is then only for the sake of
readability: to make the code smaller and easier to follow.