Glenn Smith 01a719ee58 Update libcurl há 3 anos atrás
..
.checksrc 01a719ee58 Update libcurl há 3 anos atrás
10-at-a-time.c 01a719ee58 Update libcurl há 3 anos atrás
Makefile.am 01a719ee58 Update libcurl há 3 anos atrás
Makefile.example 01a719ee58 Update libcurl há 3 anos atrás
Makefile.in 01a719ee58 Update libcurl há 3 anos atrás
Makefile.inc 01a719ee58 Update libcurl há 3 anos atrás
Makefile.m32 01a719ee58 Update libcurl há 3 anos atrás
README.md 01a719ee58 Update libcurl há 3 anos atrás
altsvc.c 01a719ee58 Update libcurl há 3 anos atrás
anyauthput.c 01a719ee58 Update libcurl há 3 anos atrás
cacertinmem.c 01a719ee58 Update libcurl há 3 anos atrás
certinfo.c 01a719ee58 Update libcurl há 3 anos atrás
chkspeed.c 01a719ee58 Update libcurl há 3 anos atrás
cookie_interface.c 01a719ee58 Update libcurl há 3 anos atrás
crawler.c 01a719ee58 Update libcurl há 3 anos atrás
curlgtk.c 01a719ee58 Update libcurl há 3 anos atrás
debug.c 01a719ee58 Update libcurl há 3 anos atrás
ephiperfifo.c 01a719ee58 Update libcurl há 3 anos atrás
evhiperfifo.c 01a719ee58 Update libcurl há 3 anos atrás
externalsocket.c 01a719ee58 Update libcurl há 3 anos atrás
fileupload.c 01a719ee58 Update libcurl há 3 anos atrás
ftp-wildcard.c 01a719ee58 Update libcurl há 3 anos atrás
ftpget.c 01a719ee58 Update libcurl há 3 anos atrás
ftpgetinfo.c 01a719ee58 Update libcurl há 3 anos atrás
ftpgetresp.c 01a719ee58 Update libcurl há 3 anos atrás
ftpsget.c 01a719ee58 Update libcurl há 3 anos atrás
ftpupload.c 01a719ee58 Update libcurl há 3 anos atrás
ftpuploadfrommem.c 01a719ee58 Update libcurl há 3 anos atrás
ftpuploadresume.c 01a719ee58 Update libcurl há 3 anos atrás
getinfo.c 01a719ee58 Update libcurl há 3 anos atrás
getinmemory.c 01a719ee58 Update libcurl há 3 anos atrás
getredirect.c 01a719ee58 Update libcurl há 3 anos atrás
getreferrer.c 01a719ee58 Update libcurl há 3 anos atrás
ghiper.c 01a719ee58 Update libcurl há 3 anos atrás
headerapi.c 01a719ee58 Update libcurl há 3 anos atrás
hiperfifo.c 01a719ee58 Update libcurl há 3 anos atrás
href_extractor.c 01a719ee58 Update libcurl há 3 anos atrás
htmltidy.c 01a719ee58 Update libcurl há 3 anos atrás
htmltitle.cpp 01a719ee58 Update libcurl há 3 anos atrás
http-post.c 01a719ee58 Update libcurl há 3 anos atrás
http2-download.c 01a719ee58 Update libcurl há 3 anos atrás
http2-pushinmemory.c 01a719ee58 Update libcurl há 3 anos atrás
http2-serverpush.c 01a719ee58 Update libcurl há 3 anos atrás
http2-upload.c 01a719ee58 Update libcurl há 3 anos atrás
http3-present.c 01a719ee58 Update libcurl há 3 anos atrás
http3.c 01a719ee58 Update libcurl há 3 anos atrás
httpcustomheader.c 01a719ee58 Update libcurl há 3 anos atrás
httpput-postfields.c 01a719ee58 Update libcurl há 3 anos atrás
httpput.c 01a719ee58 Update libcurl há 3 anos atrás
https.c 01a719ee58 Update libcurl há 3 anos atrás
imap-append.c 01a719ee58 Update libcurl há 3 anos atrás
imap-authzid.c 01a719ee58 Update libcurl há 3 anos atrás
imap-copy.c 01a719ee58 Update libcurl há 3 anos atrás
imap-create.c 01a719ee58 Update libcurl há 3 anos atrás
imap-delete.c 01a719ee58 Update libcurl há 3 anos atrás
imap-examine.c 01a719ee58 Update libcurl há 3 anos atrás
imap-fetch.c 01a719ee58 Update libcurl há 3 anos atrás
imap-list.c 01a719ee58 Update libcurl há 3 anos atrás
imap-lsub.c 01a719ee58 Update libcurl há 3 anos atrás
imap-multi.c 01a719ee58 Update libcurl há 3 anos atrás
imap-noop.c 01a719ee58 Update libcurl há 3 anos atrás
imap-search.c 01a719ee58 Update libcurl há 3 anos atrás
imap-ssl.c 01a719ee58 Update libcurl há 3 anos atrás
imap-store.c 01a719ee58 Update libcurl há 3 anos atrás
imap-tls.c 01a719ee58 Update libcurl há 3 anos atrás
makefile.dj 01a719ee58 Update libcurl há 3 anos atrás
multi-app.c 01a719ee58 Update libcurl há 3 anos atrás
multi-debugcallback.c 01a719ee58 Update libcurl há 3 anos atrás
multi-double.c 01a719ee58 Update libcurl há 3 anos atrás
multi-event.c 01a719ee58 Update libcurl há 3 anos atrás
multi-formadd.c 01a719ee58 Update libcurl há 3 anos atrás
multi-legacy.c 01a719ee58 Update libcurl há 3 anos atrás
multi-post.c 01a719ee58 Update libcurl há 3 anos atrás
multi-single.c 01a719ee58 Update libcurl há 3 anos atrás
multi-uv.c 01a719ee58 Update libcurl há 3 anos atrás
multithread.c 01a719ee58 Update libcurl há 3 anos atrás
opensslthreadlock.c 01a719ee58 Update libcurl há 3 anos atrás
parseurl.c 01a719ee58 Update libcurl há 3 anos atrás
persistent.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-authzid.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-dele.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-list.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-multi.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-noop.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-retr.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-ssl.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-stat.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-tls.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-top.c 01a719ee58 Update libcurl há 3 anos atrás
pop3-uidl.c 01a719ee58 Update libcurl há 3 anos atrás
post-callback.c 01a719ee58 Update libcurl há 3 anos atrás
postinmemory.c 01a719ee58 Update libcurl há 3 anos atrás
postit2-formadd.c 01a719ee58 Update libcurl há 3 anos atrás
postit2.c 01a719ee58 Update libcurl há 3 anos atrás
progressfunc.c 01a719ee58 Update libcurl há 3 anos atrás
resolve.c 01a719ee58 Update libcurl há 3 anos atrás
sendrecv.c 01a719ee58 Update libcurl há 3 anos atrás
sepheaders.c 01a719ee58 Update libcurl há 3 anos atrás
sessioninfo.c 01a719ee58 Update libcurl há 3 anos atrás
sftpget.c 01a719ee58 Update libcurl há 3 anos atrás
sftpuploadresume.c 01a719ee58 Update libcurl há 3 anos atrás
shared-connection-cache.c 01a719ee58 Update libcurl há 3 anos atrás
simple.c 01a719ee58 Update libcurl há 3 anos atrás
simplepost.c 01a719ee58 Update libcurl há 3 anos atrás
simplessl.c 01a719ee58 Update libcurl há 3 anos atrás
smooth-gtk-thread.c 01a719ee58 Update libcurl há 3 anos atrás
smtp-authzid.c 01a719ee58 Update libcurl há 3 anos atrás
smtp-expn.c 01a719ee58 Update libcurl há 3 anos atrás
smtp-mail.c 01a719ee58 Update libcurl há 3 anos atrás
smtp-mime.c 01a719ee58 Update libcurl há 3 anos atrás
smtp-multi.c 01a719ee58 Update libcurl há 3 anos atrás
smtp-ssl.c 01a719ee58 Update libcurl há 3 anos atrás
smtp-tls.c 01a719ee58 Update libcurl há 3 anos atrás
smtp-vrfy.c 01a719ee58 Update libcurl há 3 anos atrás
sslbackend.c 01a719ee58 Update libcurl há 3 anos atrás
synctime.c 01a719ee58 Update libcurl há 3 anos atrás
threaded-ssl.c 01a719ee58 Update libcurl há 3 anos atrás
url2file.c 01a719ee58 Update libcurl há 3 anos atrás
urlapi.c 01a719ee58 Update libcurl há 3 anos atrás
usercertinmem.c 01a719ee58 Update libcurl há 3 anos atrás
version-check.pl 01a719ee58 Update libcurl há 3 anos atrás
xmlstream.c 01a719ee58 Update libcurl há 3 anos atrás

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.