jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
10-at-a-time.c | 4 months ago | |
Makefile.am | 4 months ago | |
Makefile.example | 4 months ago | |
Makefile.inc | 4 months ago | |
Makefile.m32 | 4 months ago | |
Makefile.netware | 4 months ago | |
README.md | 4 months ago | |
altsvc.c | 4 months ago | |
anyauthput.c | 4 months ago | |
cacertinmem.c | 4 months ago | |
certinfo.c | 4 months ago | |
chkspeed.c | 4 months ago | |
cookie_interface.c | 4 months ago | |
crawler.c | 4 months ago | |
curlgtk.c | 4 months ago | |
curlx.c | 4 months ago | |
debug.c | 4 months ago | |
ephiperfifo.c | 4 months ago | |
evhiperfifo.c | 4 months ago | |
externalsocket.c | 4 months ago | |
fileupload.c | 4 months ago | |
fopen.c | 4 months ago | |
ftp-wildcard.c | 4 months ago | |
ftpget.c | 4 months ago | |
ftpgetinfo.c | 4 months ago | |
ftpgetresp.c | 4 months ago | |
ftpsget.c | 4 months ago | |
ftpupload.c | 4 months ago | |
ftpuploadfrommem.c | 4 months ago | |
ftpuploadresume.c | 4 months ago | |
getinfo.c | 4 months ago | |
getinmemory.c | 4 months ago | |
getredirect.c | 4 months ago | |
ghiper.c | 4 months ago | |
hiperfifo.c | 4 months ago | |
href_extractor.c | 4 months ago | |
htmltidy.c | 4 months ago | |
htmltitle.cpp | 4 months ago | |
http-post.c | 4 months ago | |
http2-download.c | 4 months ago | |
http2-pushinmemory.c | 4 months ago | |
http2-serverpush.c | 4 months ago | |
http2-upload.c | 4 months ago | |
http3-present.c | 4 months ago | |
http3.c | 4 months ago | |
httpcustomheader.c | 4 months ago | |
httpput.c | 4 months ago | |
https.c | 4 months ago | |
imap-append.c | 4 months ago | |
imap-authzid.c | 4 months ago | |
imap-copy.c | 4 months ago | |
imap-create.c | 4 months ago | |
imap-delete.c | 4 months ago | |
imap-examine.c | 4 months ago | |
imap-fetch.c | 4 months ago | |
imap-list.c | 4 months ago | |
imap-lsub.c | 4 months ago | |
imap-multi.c | 4 months ago | |
imap-noop.c | 4 months ago | |
imap-search.c | 4 months ago | |
imap-ssl.c | 4 months ago | |
imap-store.c | 4 months ago | |
imap-tls.c | 4 months ago | |
makefile.dj | 4 months ago | |
multi-app.c | 4 months ago | |
multi-debugcallback.c | 4 months ago | |
multi-double.c | 4 months ago | |
multi-event.c | 4 months ago | |
multi-formadd.c | 4 months ago | |
multi-poll.c | 4 months ago | |
multi-post.c | 4 months ago | |
multi-single.c | 4 months ago | |
multi-uv.c | 4 months ago | |
multithread.c | 4 months ago | |
opensslthreadlock.c | 4 months ago | |
parseurl.c | 4 months ago | |
persistent.c | 4 months ago | |
pop3-authzid.c | 4 months ago | |
pop3-dele.c | 4 months ago | |
pop3-list.c | 4 months ago | |
pop3-multi.c | 4 months ago | |
pop3-noop.c | 4 months ago | |
pop3-retr.c | 4 months ago | |
pop3-ssl.c | 4 months ago | |
pop3-stat.c | 4 months ago | |
pop3-tls.c | 4 months ago | |
pop3-top.c | 4 months ago | |
pop3-uidl.c | 4 months ago | |
post-callback.c | 4 months ago | |
postinmemory.c | 4 months ago | |
postit2-formadd.c | 4 months ago | |
postit2.c | 4 months ago | |
progressfunc.c | 4 months ago | |
resolve.c | 4 months ago | |
rtsp.c | 4 months ago | |
sampleconv.c | 4 months ago | |
sendrecv.c | 4 months ago | |
sepheaders.c | 4 months ago | |
sessioninfo.c | 4 months ago | |
sftpget.c | 4 months ago | |
sftpuploadresume.c | 4 months ago | |
shared-connection-cache.c | 4 months ago | |
simple.c | 4 months ago | |
simplepost.c | 4 months ago | |
simplessl.c | 4 months ago | |
smooth-gtk-thread.c | 4 months ago | |
smtp-authzid.c | 4 months ago | |
smtp-expn.c | 4 months ago | |
smtp-mail.c | 4 months ago | |
smtp-mime.c | 4 months ago | |
smtp-multi.c | 4 months ago | |
smtp-ssl.c | 4 months ago | |
smtp-tls.c | 4 months ago | |
smtp-vrfy.c | 4 months ago | |
sslbackend.c | 4 months ago | |
synctime.c | 4 months ago | |
threaded-shared-conn.c | 4 months ago | |
threaded-ssl.c | 4 months ago | |
url2file.c | 4 months ago | |
urlapi.c | 4 months ago | |
usercertinmem.c | 4 months ago | |
version-check.pl | 4 months ago | |
xmlstream.c | 4 months ago |
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 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 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.