Ayesh Karunaratne 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
..
.checksrc 2f72ad44fc checksrc: ban gmtime/localtime 4 gadi atpakaļ
.gitignore ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
10-at-a-time.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
Makefile.am ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
Makefile.example ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
Makefile.inc 5357686fdf examples/curlx.c: remove 2 gadi atpakaļ
Makefile.m32 784400806c Makefile.m32: deduplicate build rules [ci skip] 2 gadi atpakaļ
README.md fd1ce3d4b0 docs: spellfixes 2 gadi atpakaļ
adddocsref.pl ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
altsvc.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
anyauthput.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
cacertinmem.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
certinfo.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
chkspeed.c c3e634d066 examples/chkspeed: improve portability 2 gadi atpakaļ
cookie_interface.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
crawler.c 07a9b89fed examples/crawler.c: use the curl license 2 gadi atpakaļ
curlgtk.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
debug.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
ephiperfifo.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
evhiperfifo.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
externalsocket.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
fileupload.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
ftp-wildcard.c ddeec8feba misc: nitpick grammar in comments/docs 2 gadi atpakaļ
ftpget.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
ftpgetinfo.c 83de62babc docs/examples: avoid deprecated options in examples where possible 2 gadi atpakaļ
ftpgetresp.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
ftpsget.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
ftpupload.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
ftpuploadfrommem.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
ftpuploadresume.c be43dd600a CURLOPT_SERVER_RESPONSE_TIMEOUT: the new name 2 gadi atpakaļ
getinfo.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
getinmemory.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
getredirect.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
getreferrer.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
ghiper.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
headerapi.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
hiperfifo.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
href_extractor.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
htmltidy.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
htmltitle.cpp ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
http-post.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
http2-download.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
http2-pushinmemory.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
http2-serverpush.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
http2-upload.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
http3-present.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
http3.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
httpcustomheader.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
httpput-postfields.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
httpput.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
https.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-append.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-authzid.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-copy.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-create.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-delete.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-examine.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-fetch.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-list.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-lsub.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-multi.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-noop.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-search.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-ssl.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-store.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
imap-tls.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
makefile.dj ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
multi-app.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
multi-debugcallback.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
multi-double.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
multi-event.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
multi-formadd.c 83de62babc docs/examples: avoid deprecated options in examples where possible 2 gadi atpakaļ
multi-legacy.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
multi-post.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
multi-single.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
multi-uv.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
multithread.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
opensslthreadlock.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
parseurl.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
persistent.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-authzid.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-dele.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-list.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-multi.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-noop.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-retr.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-ssl.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-stat.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-tls.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-top.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
pop3-uidl.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
post-callback.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
postinmemory.c 4484270afc misc: typo and grammar fixes 2 gadi atpakaļ
postit2-formadd.c 83de62babc docs/examples: avoid deprecated options in examples where possible 2 gadi atpakaļ
postit2.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
progressfunc.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
resolve.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
sendrecv.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
sepheaders.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
sessioninfo.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
sftpget.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
sftpuploadresume.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
shared-connection-cache.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
simple.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
simplepost.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
simplessl.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
smooth-gtk-thread.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
smtp-authzid.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
smtp-expn.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
smtp-mail.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
smtp-mime.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
smtp-multi.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
smtp-ssl.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
smtp-tls.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
smtp-vrfy.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
sslbackend.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
synctime.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
threaded-ssl.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
url2file.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
urlapi.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
usercertinmem.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
version-check.pl ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ
xmlstream.c ad9bc5976d copyright: make repository REUSE compliant 2 gadi atpakaļ

README.md

libcurl examples

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.

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 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.

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.