Daniel Stenberg 4a8f6869db English: use American spelling consistently | 2 years ago | |
---|---|---|
.. | ||
.checksrc | 4 years ago | |
.gitignore | 3 years ago | |
10-at-a-time.c | 4 years ago | |
Makefile.am | 2 years ago | |
Makefile.example | 4 years ago | |
Makefile.inc | 2 years ago | |
Makefile.m32 | 3 years ago | |
README.md | 3 years ago | |
adddocsref.pl | 4 years ago | |
altsvc.c | 4 years ago | |
anyauthput.c | 2 years ago | |
cacertinmem.c | 3 years ago | |
certinfo.c | 4 years ago | |
chkspeed.c | 2 years ago | |
cookie_interface.c | 3 years ago | |
crawler.c | 4 years ago | |
curlgtk.c | 3 years ago | |
curlx.c | 2 years ago | |
debug.c | 4 years ago | |
ephiperfifo.c | 3 years ago | |
evhiperfifo.c | 3 years ago | |
externalsocket.c | 3 years ago | |
fileupload.c | 2 years ago | |
fopen.c | 3 years ago | |
ftp-wildcard.c | 4 years ago | |
ftpget.c | 3 years ago | |
ftpgetinfo.c | 4 years ago | |
ftpgetresp.c | 4 years ago | |
ftpsget.c | 3 years ago | |
ftpupload.c | 2 years ago | |
ftpuploadfrommem.c | 3 years ago | |
ftpuploadresume.c | 3 years ago | |
getinfo.c | 4 years ago | |
getinmemory.c | 3 years ago | |
getredirect.c | 4 years ago | |
getreferrer.c | 3 years ago | |
ghiper.c | 3 years ago | |
headerapi.c | 2 years ago | |
hiperfifo.c | 3 years ago | |
href_extractor.c | 4 years ago | |
htmltidy.c | 3 years ago | |
htmltitle.cpp | 4 years ago | |
http-post.c | 4 years ago | |
http2-download.c | 3 years ago | |
http2-pushinmemory.c | 3 years ago | |
http2-serverpush.c | 3 years ago | |
http2-upload.c | 3 years ago | |
http3-present.c | 4 years ago | |
http3.c | 3 years ago | |
httpcustomheader.c | 3 years ago | |
httpput-postfields.c | 3 years ago | |
httpput.c | 2 years ago | |
https.c | 3 years ago | |
imap-append.c | 2 years ago | |
imap-authzid.c | 2 years ago | |
imap-copy.c | 2 years ago | |
imap-create.c | 4 years ago | |
imap-delete.c | 4 years ago | |
imap-examine.c | 4 years ago | |
imap-fetch.c | 2 years ago | |
imap-list.c | 4 years ago | |
imap-lsub.c | 4 years ago | |
imap-multi.c | 3 years ago | |
imap-noop.c | 4 years ago | |
imap-search.c | 2 years ago | |
imap-ssl.c | 3 years ago | |
imap-store.c | 2 years ago | |
imap-tls.c | 3 years ago | |
makefile.dj | 4 years ago | |
multi-app.c | 2 years ago | |
multi-debugcallback.c | 3 years ago | |
multi-double.c | 3 years ago | |
multi-event.c | 3 years ago | |
multi-formadd.c | 3 years ago | |
multi-legacy.c | 3 years ago | |
multi-post.c | 3 years ago | |
multi-single.c | 2 years ago | |
multi-uv.c | 3 years ago | |
multithread.c | 3 years ago | |
opensslthreadlock.c | 4 years ago | |
parseurl.c | 4 years ago | |
persistent.c | 4 years ago | |
pop3-authzid.c | 2 years ago | |
pop3-dele.c | 2 years ago | |
pop3-list.c | 4 years ago | |
pop3-multi.c | 3 years ago | |
pop3-noop.c | 4 years ago | |
pop3-retr.c | 2 years ago | |
pop3-ssl.c | 3 years ago | |
pop3-stat.c | 4 years ago | |
pop3-tls.c | 3 years ago | |
pop3-top.c | 2 years ago | |
pop3-uidl.c | 4 years ago | |
post-callback.c | 3 years ago | |
postinmemory.c | 3 years ago | |
postit2-formadd.c | 3 years ago | |
postit2.c | 3 years ago | |
progressfunc.c | 2 years ago | |
resolve.c | 4 years ago | |
rtsp.c | 2 years ago | |
sendrecv.c | 2 years ago | |
sepheaders.c | 4 years ago | |
sessioninfo.c | 4 years ago | |
sftpget.c | 3 years ago | |
sftpuploadresume.c | 2 years ago | |
shared-connection-cache.c | 4 years ago | |
simple.c | 4 years ago | |
simplepost.c | 3 years ago | |
simplessl.c | 3 years ago | |
smooth-gtk-thread.c | 3 years ago | |
smtp-authzid.c | 2 years ago | |
smtp-expn.c | 2 years ago | |
smtp-mail.c | 2 years ago | |
smtp-mime.c | 2 years ago | |
smtp-multi.c | 3 years ago | |
smtp-ssl.c | 3 years ago | |
smtp-tls.c | 3 years ago | |
smtp-vrfy.c | 2 years ago | |
sslbackend.c | 4 years ago | |
synctime.c | 2 years ago | |
threaded-ssl.c | 3 years ago | |
url2file.c | 4 years ago | |
urlapi.c | 3 years ago | |
usercertinmem.c | 3 years ago | |
version-check.pl | 4 years ago | |
xmlstream.c | 3 years ago |
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 website.
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 do not 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.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 does not mean that the URLs work or that we expect
you to actually torture our website with your tests! Thanks.
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.