eBookReaderSwitch/thirdparty/curl/docs/examples
Moroni Granja 98d9d7be17 Squashed 'mupdf/' content from commit 340abaf66
git-subtree-dir: mupdf
git-subtree-split: 340abaf66f43a04477866e5df8ba9726709f43f4
2019-10-30 13:48:08 -03:00
..
.gitignore Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
10-at-a-time.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
Makefile.am Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
Makefile.example Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
Makefile.inc Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
Makefile.m32 Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
Makefile.netware Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
README Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
adddocsref.pl Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
anyauthput.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
asiohiper.cpp Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
cacertinmem.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
certinfo.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
chkspeed.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
cookie_interface.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
crawler.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
curlgtk.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
curlx.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
debug.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ephiperfifo.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
evhiperfifo.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
externalsocket.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
fileupload.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
fopen.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ftp-wildcard.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ftpget.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ftpgetinfo.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ftpgetresp.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ftpsget.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ftpupload.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ftpuploadfrommem.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ftpuploadresume.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
getinfo.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
getinmemory.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
getredirect.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
ghiper.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
hiperfifo.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
href_extractor.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
htmltidy.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
htmltitle.cpp Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
http-post.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
http2-download.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
http2-pushinmemory.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
http2-serverpush.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
http2-upload.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
httpcustomheader.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
httpput.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
https.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-append.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-copy.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-create.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-delete.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-examine.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-fetch.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-list.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-lsub.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-multi.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-noop.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-search.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-ssl.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-store.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
imap-tls.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
makefile.dj Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
multi-app.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
multi-debugcallback.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
multi-double.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
multi-formadd.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
multi-post.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
multi-single.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
multi-uv.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
multithread.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
opensslthreadlock.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
parseurl.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
persistent.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-dele.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-list.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-multi.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-noop.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-retr.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-ssl.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-stat.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-tls.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-top.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pop3-uidl.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
post-callback.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
postinmemory.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
postit2-formadd.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
postit2.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
progressfunc.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
resolve.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
rtsp.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
sampleconv.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
sendrecv.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
sepheaders.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
sessioninfo.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
sftpget.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
sftpuploadresume.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
shared-connection-cache.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
simple.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
simplepost.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
simplessl.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
smooth-gtk-thread.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
smtp-expn.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
smtp-mail.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
smtp-mime.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
smtp-multi.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
smtp-ssl.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
smtp-tls.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
smtp-vrfy.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
sslbackend.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
synctime.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
threaded-shared-conn.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
threaded-ssl.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
url2file.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
urlapi.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
usercertinmem.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
version-check.pl Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
xmlstream.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00

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.