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