Viktor Szakats a3585c9576 Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) | 1 maand geleden | |
---|---|---|
.. | ||
.checksrc | 1 week geleden | |
.gitignore | 6 maanden geleden | |
10-at-a-time.c | 7 maanden geleden | |
CMakeLists.txt | 1 week geleden | |
Makefile.am | 1 week geleden | |
Makefile.example | 5 maanden geleden | |
Makefile.inc | 11 maanden geleden | |
README.md | 2 maanden geleden | |
adddocsref.pl | 2 jaren geleden | |
address-scope.c | 1 week geleden | |
altsvc.c | 10 maanden geleden | |
anyauthput.c | 4 maanden geleden | |
cacertinmem.c | 10 maanden geleden | |
certinfo.c | 2 jaren geleden | |
chkspeed.c | 3 maanden geleden | |
connect-to.c | 10 maanden geleden | |
cookie_interface.c | 3 maanden geleden | |
crawler.c | 1 jaar geleden | |
debug.c | 3 maanden geleden | |
default-scheme.c | 10 maanden geleden | |
ephiperfifo.c | 4 maanden geleden | |
evhiperfifo.c | 10 maanden geleden | |
externalsocket.c | 7 maanden geleden | |
fileupload.c | 2 jaren geleden | |
ftp-wildcard.c | 7 maanden geleden | |
ftpget.c | 1 jaar geleden | |
ftpgetinfo.c | 3 maanden geleden | |
ftpgetresp.c | 4 maanden geleden | |
ftpsget.c | 1 jaar geleden | |
ftpupload.c | 4 maanden geleden | |
ftpuploadfrommem.c | 4 maanden geleden | |
ftpuploadresume.c | 10 maanden geleden | |
getinfo.c | 2 jaren geleden | |
getinmemory.c | 10 maanden geleden | |
getredirect.c | 10 maanden geleden | |
getreferrer.c | 10 maanden geleden | |
ghiper.c | 3 maanden geleden | |
headerapi.c | 10 maanden geleden | |
hiperfifo.c | 10 maanden geleden | |
href_extractor.c | 2 jaren geleden | |
hsts-preload.c | 10 maanden geleden | |
htmltidy.c | 3 maanden geleden | |
htmltitle.cpp | 1 jaar geleden | |
http-options.c | 10 maanden geleden | |
http-post.c | 4 maanden geleden | |
http2-download.c | 3 maanden geleden | |
http2-pushinmemory.c | 7 maanden geleden | |
http2-serverpush.c | 3 maanden geleden | |
http2-upload.c | 1 maand geleden | |
http3-present.c | 2 jaren geleden | |
http3.c | 10 maanden geleden | |
httpcustomheader.c | 2 jaren geleden | |
httpput-postfields.c | 4 maanden geleden | |
httpput.c | 4 maanden geleden | |
https.c | 10 maanden geleden | |
imap-append.c | 10 maanden geleden | |
imap-authzid.c | 10 maanden geleden | |
imap-copy.c | 10 maanden geleden | |
imap-create.c | 2 jaren geleden | |
imap-delete.c | 2 jaren geleden | |
imap-examine.c | 2 jaren geleden | |
imap-fetch.c | 10 maanden geleden | |
imap-list.c | 10 maanden geleden | |
imap-lsub.c | 1 jaar geleden | |
imap-multi.c | 10 maanden geleden | |
imap-noop.c | 2 jaren geleden | |
imap-search.c | 2 jaren geleden | |
imap-ssl.c | 10 maanden geleden | |
imap-store.c | 2 jaren geleden | |
imap-tls.c | 10 maanden geleden | |
interface.c | 1 jaar geleden | |
ipv6.c | 11 maanden geleden | |
keepalive.c | 6 maanden geleden | |
localport.c | 10 maanden geleden | |
maxconnects.c | 10 maanden geleden | |
multi-app.c | 3 maanden geleden | |
multi-debugcallback.c | 3 maanden geleden | |
multi-double.c | 7 maanden geleden | |
multi-event.c | 10 maanden geleden | |
multi-formadd.c | 3 maanden geleden | |
multi-legacy.c | 1 week geleden | |
multi-post.c | 7 maanden geleden | |
multi-single.c | 7 maanden geleden | |
multi-uv.c | 4 maanden geleden | |
multithread.c | 3 maanden geleden | |
netrc.c | 11 maanden geleden | |
parseurl.c | 10 maanden geleden | |
persistent.c | 7 maanden geleden | |
pop3-authzid.c | 10 maanden geleden | |
pop3-dele.c | 2 jaren geleden | |
pop3-list.c | 10 maanden geleden | |
pop3-multi.c | 10 maanden geleden | |
pop3-noop.c | 2 jaren geleden | |
pop3-retr.c | 10 maanden geleden | |
pop3-ssl.c | 10 maanden geleden | |
pop3-stat.c | 2 jaren geleden | |
pop3-tls.c | 10 maanden geleden | |
pop3-top.c | 2 jaren geleden | |
pop3-uidl.c | 2 jaren geleden | |
post-callback.c | 4 maanden geleden | |
postinmemory.c | 10 maanden geleden | |
postit2-formadd.c | 3 maanden geleden | |
postit2.c | 10 maanden geleden | |
progressfunc.c | 2 jaren geleden | |
protofeats.c | 1 jaar geleden | |
range.c | 10 maanden geleden | |
resolve.c | 10 maanden geleden | |
rtsp-options.c | 10 maanden geleden | |
sendrecv.c | 1 week geleden | |
sepheaders.c | 7 maanden geleden | |
sessioninfo.c | 2 jaren geleden | |
sftpget.c | 10 maanden geleden | |
sftpuploadresume.c | 2 jaren geleden | |
shared-connection-cache.c | 10 maanden geleden | |
simple.c | 10 maanden geleden | |
simplepost.c | 10 maanden geleden | |
simplessl.c | 3 maanden geleden | |
smooth-gtk-thread.c | 10 maanden geleden | |
smtp-authzid.c | 10 maanden geleden | |
smtp-expn.c | 10 maanden geleden | |
smtp-mail.c | 10 maanden geleden | |
smtp-mime.c | 10 maanden geleden | |
smtp-multi.c | 10 maanden geleden | |
smtp-ssl.c | 10 maanden geleden | |
smtp-tls.c | 10 maanden geleden | |
smtp-vrfy.c | 10 maanden geleden | |
sslbackend.c | 1 jaar geleden | |
synctime.c | 3 maanden geleden | |
threaded-ssl.c | 3 maanden geleden | |
unixsocket.c | 4 maanden geleden | |
url2file.c | 7 maanden geleden | |
urlapi.c | 1 jaar geleden | |
usercertinmem.c | 5 maanden geleden | |
version-check.pl | 2 jaren geleden | |
websocket-cb.c | 10 maanden geleden | |
websocket.c | 3 weken geleden | |
xmlstream.c | 7 maanden geleden |
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.
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-my 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-my 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.
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.