Stefan Eissing 671158242d connections: introduce http/3 happy eyeballs 1 år sedan
..
.checksrc 2f72ad44fc checksrc: ban gmtime/localtime 4 år sedan
.gitignore 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
10-at-a-time.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
Makefile.am 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
Makefile.example 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
Makefile.inc 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
Makefile.mk 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
README.md 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
adddocsref.pl 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
altsvc.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
anyauthput.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
cacertinmem.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
certinfo.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
chkspeed.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
cookie_interface.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
crawler.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
debug.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ephiperfifo.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
evhiperfifo.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
externalsocket.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
fileupload.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ftp-wildcard.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ftpget.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ftpgetinfo.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ftpgetresp.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ftpsget.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ftpupload.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ftpuploadfrommem.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ftpuploadresume.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
getinfo.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
getinmemory.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
getredirect.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
getreferrer.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
ghiper.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
headerapi.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
hiperfifo.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
href_extractor.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
htmltidy.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
htmltitle.cpp 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
http-post.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
http2-download.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
http2-pushinmemory.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
http2-serverpush.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
http2-upload.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
http3-present.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
http3.c 671158242d connections: introduce http/3 happy eyeballs 1 år sedan
httpcustomheader.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
httpput-postfields.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
httpput.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
https.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-append.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-authzid.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-copy.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-create.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-delete.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-examine.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-fetch.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-list.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-lsub.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-multi.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-noop.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-search.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-ssl.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-store.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
imap-tls.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multi-app.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multi-debugcallback.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multi-double.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multi-event.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multi-formadd.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multi-legacy.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multi-post.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multi-single.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multi-uv.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
multithread.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
opensslthreadlock.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
parseurl.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
persistent.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-authzid.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-dele.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-list.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-multi.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-noop.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-retr.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-ssl.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-stat.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-tls.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-top.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
pop3-uidl.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
post-callback.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
postinmemory.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
postit2-formadd.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
postit2.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
progressfunc.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
resolve.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
sendrecv.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
sepheaders.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
sessioninfo.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
sftpget.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
sftpuploadresume.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
shared-connection-cache.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
simple.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
simplepost.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
simplessl.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
smooth-gtk-thread.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
smtp-authzid.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
smtp-expn.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
smtp-mail.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
smtp-mime.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
smtp-multi.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
smtp-ssl.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
smtp-tls.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
smtp-vrfy.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
sslbackend.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
synctime.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
threaded-ssl.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
url2file.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
urlapi.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
usercertinmem.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
version-check.pl 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan
xmlstream.c 2bc1d775f5 copyright: update all copyright lines and remove year ranges 1 år sedan

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.