Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
10-at-a-time.c | D | 23-Nov-2023 | 4.2 KiB | 151 | 109 | |
Makefile.am | D | 23-Nov-2023 | 2.2 KiB | 71 | 24 | |
Makefile.example | D | 23-Nov-2023 | 1.9 KiB | 54 | 10 | |
Makefile.inc | D | 23-Nov-2023 | 2.7 KiB | 49 | 22 | |
Makefile.m32 | D | 23-Nov-2023 | 10.1 KiB | 384 | 305 | |
Makefile.netware | D | 23-Nov-2023 | 11.5 KiB | 437 | 325 | |
README.md | D | 23-Nov-2023 | 1.4 KiB | 35 | 23 | |
altsvc.c | D | 23-Nov-2023 | 1.8 KiB | 57 | 20 | |
anyauthput.c | D | 23-Nov-2023 | 4.8 KiB | 172 | 79 | |
cacertinmem.c | D | 23-Nov-2023 | 7.1 KiB | 182 | 117 | |
certinfo.c | D | 23-Nov-2023 | 2.3 KiB | 86 | 40 | |
chkspeed.c | D | 23-Nov-2023 | 6.5 KiB | 214 | 137 | |
cookie_interface.c | D | 23-Nov-2023 | 4 KiB | 141 | 92 | |
crawler.c | D | 23-Nov-2023 | 6.5 KiB | 218 | 171 | |
curlgtk.c | D | 23-Nov-2023 | 2.9 KiB | 107 | 70 | |
curlx.c | D | 23-Nov-2023 | 16.5 KiB | 575 | 377 | |
debug.c | D | 23-Nov-2023 | 4.2 KiB | 155 | 100 | |
ephiperfifo.c | D | 23-Nov-2023 | 14.5 KiB | 548 | 380 | |
evhiperfifo.c | D | 23-Nov-2023 | 11.9 KiB | 449 | 306 | |
externalsocket.c | D | 23-Nov-2023 | 4.8 KiB | 175 | 108 | |
fileupload.c | D | 23-Nov-2023 | 2.8 KiB | 90 | 43 | |
fopen.c | D | 23-Nov-2023 | 13.9 KiB | 547 | 340 | |
ftp-wildcard.c | D | 23-Nov-2023 | 4.2 KiB | 151 | 87 | |
ftpget.c | D | 23-Nov-2023 | 2.6 KiB | 93 | 43 | |
ftpgetinfo.c | D | 23-Nov-2023 | 2.9 KiB | 91 | 45 | |
ftpgetresp.c | D | 23-Nov-2023 | 2.5 KiB | 78 | 34 | |
ftpsget.c | D | 23-Nov-2023 | 2.9 KiB | 100 | 45 | |
ftpupload.c | D | 23-Nov-2023 | 4.5 KiB | |||
ftpuploadfrommem.c | D | 23-Nov-2023 | 3.8 KiB | 125 | 67 | |
ftpuploadresume.c | D | 23-Nov-2023 | 4.2 KiB | 162 | 88 | |
getinfo.c | D | 23-Nov-2023 | 1.6 KiB | 53 | 20 | |
getinmemory.c | D | 23-Nov-2023 | 3.2 KiB | 117 | 50 | |
getredirect.c | D | 23-Nov-2023 | 2.3 KiB | 71 | 32 | |
ghiper.c | D | 23-Nov-2023 | 12 KiB | 437 | 313 | |
hiperfifo.c | D | 23-Nov-2023 | 11.9 KiB | 459 | 306 | |
href_extractor.c | D | 23-Nov-2023 | 2.6 KiB | 87 | 43 | |
htmltidy.c | D | 23-Nov-2023 | 3.9 KiB | 129 | 83 | |
htmltitle.cpp | D | 23-Nov-2023 | 6.2 KiB | 295 | 167 | |
http-post.c | D | 23-Nov-2023 | 2 KiB | 60 | 20 | |
http2-download.c | D | 23-Nov-2023 | 8 KiB | 298 | 190 | |
http2-pushinmemory.c | D | 23-Nov-2023 | 5 KiB | 189 | 106 | |
http2-serverpush.c | D | 23-Nov-2023 | 8.9 KiB | 335 | 211 | |
http2-upload.c | D | 23-Nov-2023 | 9.8 KiB | 365 | 241 | |
http3-present.c | D | 23-Nov-2023 | 1.5 KiB | 48 | 16 | |
http3.c | D | 23-Nov-2023 | 1.8 KiB | 55 | 18 | |
httpcustomheader.c | D | 23-Nov-2023 | 2.3 KiB | 71 | 25 | |
httpput.c | D | 23-Nov-2023 | 3.6 KiB | 125 | 48 | |
https.c | D | 23-Nov-2023 | 2.5 KiB | 79 | 25 | |
imap-append.c | D | 23-Nov-2023 | 3.8 KiB | 133 | 69 | |
imap-authzid.c | D | 23-Nov-2023 | 2.2 KiB | 72 | 22 | |
imap-copy.c | D | 23-Nov-2023 | 2.4 KiB | 72 | 20 | |
imap-create.c | D | 23-Nov-2023 | 2.1 KiB | 68 | 20 | |
imap-delete.c | D | 23-Nov-2023 | 2.1 KiB | 68 | 20 | |
imap-examine.c | D | 23-Nov-2023 | 2.1 KiB | 68 | 20 | |
imap-fetch.c | D | 23-Nov-2023 | 2 KiB | 66 | 20 | |
imap-list.c | D | 23-Nov-2023 | 2.1 KiB | 67 | 19 | |
imap-lsub.c | D | 23-Nov-2023 | 2.1 KiB | 69 | 20 | |
imap-multi.c | D | 23-Nov-2023 | 4.8 KiB | 174 | 94 | |
imap-noop.c | D | 23-Nov-2023 | 2 KiB | 68 | 20 | |
imap-search.c | D | 23-Nov-2023 | 2.4 KiB | 72 | 20 | |
imap-ssl.c | D | 23-Nov-2023 | 3.3 KiB | 93 | 27 | |
imap-store.c | D | 23-Nov-2023 | 2.7 KiB | 83 | 27 | |
imap-tls.c | D | 23-Nov-2023 | 3.5 KiB | 93 | 23 | |
makefile.dj | D | 23-Nov-2023 | 1.6 KiB | 56 | 21 | |
multi-app.c | D | 23-Nov-2023 | 5.1 KiB | 178 | 96 | |
multi-debugcallback.c | D | 23-Nov-2023 | 6.1 KiB | 232 | 141 | |
multi-double.c | D | 23-Nov-2023 | 4 KiB | 144 | 72 | |
multi-event.c | D | 23-Nov-2023 | 6 KiB | 241 | 165 | |
multi-formadd.c | D | 23-Nov-2023 | 5.1 KiB | 172 | 95 | |
multi-poll.c | D | 23-Nov-2023 | 2.2 KiB | 77 | 32 | |
multi-post.c | D | 23-Nov-2023 | 4.9 KiB | 168 | 90 | |
multi-single.c | D | 23-Nov-2023 | 3.1 KiB | 112 | 48 | |
multi-uv.c | D | 23-Nov-2023 | 6 KiB | 236 | 156 | |
multithread.c | D | 23-Nov-2023 | 2.6 KiB | 95 | 41 | |
opensslthreadlock.c | D | 23-Nov-2023 | 2.7 KiB | 96 | 51 | |
parseurl.c | D | 23-Nov-2023 | 2.1 KiB | 79 | 39 | |
persistent.c | D | 23-Nov-2023 | 2.2 KiB | 69 | 26 | |
pop3-authzid.c | D | 23-Nov-2023 | 2.2 KiB | 71 | 21 | |
pop3-dele.c | D | 23-Nov-2023 | 2.2 KiB | 71 | 21 | |
pop3-list.c | D | 23-Nov-2023 | 1.9 KiB | 65 | 19 | |
pop3-multi.c | D | 23-Nov-2023 | 4.8 KiB | 174 | 94 | |
pop3-noop.c | D | 23-Nov-2023 | 2.1 KiB | 71 | 21 | |
pop3-retr.c | D | 23-Nov-2023 | 1.9 KiB | 65 | 19 | |
pop3-ssl.c | D | 23-Nov-2023 | 3.2 KiB | 92 | 26 | |
pop3-stat.c | D | 23-Nov-2023 | 2.1 KiB | 71 | 21 | |
pop3-tls.c | D | 23-Nov-2023 | 3.5 KiB | 92 | 22 | |
pop3-top.c | D | 23-Nov-2023 | 2.1 KiB | 68 | 20 | |
pop3-uidl.c | D | 23-Nov-2023 | 2 KiB | 68 | 20 | |
post-callback.c | D | 23-Nov-2023 | 5.2 KiB | 155 | 74 | |
postinmemory.c | D | 23-Nov-2023 | 3.4 KiB | 113 | 55 | |
postit2-formadd.c | D | 23-Nov-2023 | 3.5 KiB | 107 | 44 | |
postit2.c | D | 23-Nov-2023 | 3.4 KiB | 103 | 39 | |
progressfunc.c | D | 23-Nov-2023 | 4.8 KiB | 145 | 79 | |
resolve.c | D | 23-Nov-2023 | 1.9 KiB | 57 | 18 | |
rtsp.c | D | 23-Nov-2023 | 8.8 KiB | 289 | 199 | |
sampleconv.c | D | 23-Nov-2023 | 3.3 KiB | 113 | 61 | |
sendrecv.c | D | 23-Nov-2023 | 4.5 KiB | 162 | 91 | |
sepheaders.c | D | 23-Nov-2023 | 2.7 KiB | 95 | 40 | |
sessioninfo.c | D | 23-Nov-2023 | 3.1 KiB | 111 | 60 | |
sftpget.c | D | 23-Nov-2023 | 3.3 KiB | 111 | 48 | |
sftpuploadresume.c | D | 23-Nov-2023 | 3.8 KiB | 136 | 83 | |
shared-connection-cache.c | D | 23-Nov-2023 | 2.5 KiB | 86 | 42 | |
simple.c | D | 23-Nov-2023 | 1.7 KiB | 52 | 18 | |
simplepost.c | D | 23-Nov-2023 | 1.8 KiB | 58 | 21 | |
simplessl.c | D | 23-Nov-2023 | 4.6 KiB | 142 | 58 | |
smooth-gtk-thread.c | D | 23-Nov-2023 | 6 KiB | 225 | 122 | |
smtp-authzid.c | D | 23-Nov-2023 | 5.3 KiB | 162 | 72 | |
smtp-expn.c | D | 23-Nov-2023 | 2.6 KiB | 80 | 23 | |
smtp-mail.c | D | 23-Nov-2023 | 4.8 KiB | 150 | 69 | |
smtp-mime.c | D | 23-Nov-2023 | 5.5 KiB | 164 | 75 | |
smtp-multi.c | D | 23-Nov-2023 | 7 KiB | 244 | 139 | |
smtp-ssl.c | D | 23-Nov-2023 | 5.7 KiB | 170 | 75 | |
smtp-tls.c | D | 23-Nov-2023 | 6.2 KiB | 172 | 71 | |
smtp-vrfy.c | D | 23-Nov-2023 | 2.6 KiB | 80 | 22 | |
sslbackend.c | D | 23-Nov-2023 | 2.3 KiB | 78 | 34 | |
synctime.c | D | 23-Nov-2023 | 12.6 KiB | 376 | 233 | |
threaded-shared-conn.c | D | 23-Nov-2023 | 4.5 KiB | 157 | 91 | |
threaded-ssl.c | D | 23-Nov-2023 | 4.3 KiB | 167 | 97 | |
url2file.c | D | 23-Nov-2023 | 2.4 KiB | 87 | 34 | |
urlapi.c | D | 23-Nov-2023 | 2 KiB | 73 | 33 | |
usercertinmem.c | D | 23-Nov-2023 | 8.9 KiB | 227 | 152 | |
version-check.pl | D | 23-Nov-2023 | 2.6 KiB | 104 | 45 | |
xmlstream.c | D | 23-Nov-2023 | 4.9 KiB | 167 | 103 |
README.md
1# libcurl examples 2 3This directory is for libcurl programming examples. They are meant to show 4some simple steps on how you can build your own application to take full 5advantage of libcurl. 6 7If you end up with other small but still useful example sources, please mail 8them for submission in future packages and on the website. 9 10## Building 11 12The Makefile.example is an example makefile that could be used to build these 13examples. Just edit the file according to your system and requirements first. 14 15Most examples should build fine using a command line like this: 16 17 `curl-config --cc --cflags --libs` -o example example.c 18 19Some compilers don't like having the arguments in this order but instead 20want you do reorganize them like: 21 22 `curl-config --cc` -o example example.c `curl-config --cflags --libs` 23 24**Please** do not use the `curl.haxx.se` site as a test target for your 25libcurl applications/experiments. Even if some of the examples use that site 26as a URL at some places, it doesn't mean that the URLs work or that we expect 27you to actually torture our website with your tests! Thanks. 28 29## Examples 30 31Each example source code file is designed to be and work stand-alone and 32rather self-explanatory. The examples may at times lack the level of error 33checks you need in a real world, but that is then only for the sake of 34readability: to make the code smaller and easier to follow. 35