• Home
Name Date Size #Lines LOC

..--

.checksrcD03-May-202458 43

.gitignoreD03-May-20241.2 KiB102100

10-at-a-time.cD03-May-20244.3 KiB157113

Makefile.amD03-May-20242.2 KiB7425

Makefile.exampleD03-May-20241.9 KiB5610

Makefile.incD03-May-20243 KiB144115

Makefile.mkD03-May-20241.8 KiB7529

README.mdD03-May-20241.4 KiB4224

adddocsref.plD03-May-20241.9 KiB5928

altsvc.cD03-May-20241.9 KiB5920

anyauthput.cD03-May-20244.5 KiB15868

cacertinmem.cD03-May-20247.2 KiB184117

certinfo.cD03-May-20242.3 KiB8840

chkspeed.cD03-May-20246.6 KiB223143

cookie_interface.cD03-May-20244.1 KiB14392

crawler.cD03-May-20247 KiB229171

debug.cD03-May-20244.2 KiB157100

ephiperfifo.cD03-May-202414.5 KiB548378

evhiperfifo.cD03-May-202411.9 KiB451306

externalsocket.cD03-May-20244.8 KiB176108

fileupload.cD03-May-20242.8 KiB9043

ftp-wildcard.cD03-May-20244.2 KiB15387

ftpget.cD03-May-20242.6 KiB9543

ftpgetinfo.cD03-May-20242.9 KiB9446

ftpgetresp.cD03-May-20242.5 KiB8034

ftpsget.cD03-May-20242.9 KiB10245

ftpupload.cD03-May-20244.5 KiB14366

ftpuploadfrommem.cD03-May-20243.8 KiB12767

ftpuploadresume.cD03-May-20244.3 KiB16488

getinfo.cD03-May-20241.6 KiB5520

getinmemory.cD03-May-20243.3 KiB11950

getredirect.cD03-May-20242.3 KiB7332

getreferrer.cD03-May-20241.8 KiB6024

ghiper.cD03-May-202412.1 KiB439313

headerapi.cD03-May-20242.5 KiB8240

hiperfifo.cD03-May-202412 KiB465310

href_extractor.cD03-May-20242.6 KiB8943

htmltidy.cD03-May-20243.9 KiB13183

htmltitle.cppD03-May-20246.2 KiB297167

http-post.cD03-May-20242 KiB6220

http2-download.cD03-May-20246.2 KiB237148

http2-pushinmemory.cD03-May-20245 KiB191106

http2-serverpush.cD03-May-20247.1 KiB274169

http2-upload.cD03-May-20248.1 KiB305199

http3-present.cD03-May-20241.6 KiB5016

http3.cD03-May-20241.7 KiB5619

httpcustomheader.cD03-May-20242.3 KiB7325

httpput-postfields.cD03-May-20243.5 KiB10639

httpput.cD03-May-20243.6 KiB12448

https.cD03-May-20242.6 KiB8125

imap-append.cD03-May-20243.9 KiB13368

imap-authzid.cD03-May-20242.2 KiB7422

imap-copy.cD03-May-20242.4 KiB7420

imap-create.cD03-May-20242.1 KiB7020

imap-delete.cD03-May-20242.1 KiB7020

imap-examine.cD03-May-20242.1 KiB7020

imap-fetch.cD03-May-20242 KiB6820

imap-list.cD03-May-20242.1 KiB6919

imap-lsub.cD03-May-20242.1 KiB7120

imap-multi.cD03-May-20242.3 KiB8432

imap-noop.cD03-May-20242 KiB7020

imap-search.cD03-May-20242.3 KiB7420

imap-ssl.cD03-May-20243.3 KiB9527

imap-store.cD03-May-20242.7 KiB8527

imap-tls.cD03-May-20243.5 KiB9523

multi-app.cD03-May-20243.5 KiB11956

multi-debugcallback.cD03-May-20244.2 KiB17097

multi-double.cD03-May-20242.6 KiB9842

multi-event.cD03-May-20246 KiB243165

multi-formadd.cD03-May-20243.4 KiB11651

multi-legacy.cD03-May-20245.2 KiB18096

multi-post.cD03-May-20243.1 KiB10646

multi-single.cD03-May-20242.3 KiB8530

multi-uv.cD03-May-20246 KiB238156

multithread.cD03-May-20242.6 KiB9741

opensslthreadlock.cD03-May-20242.7 KiB9851

parseurl.cD03-May-20242.1 KiB8139

persistent.cD03-May-20242.2 KiB7126

pop3-authzid.cD03-May-20242.2 KiB7321

pop3-dele.cD03-May-20242.1 KiB7321

pop3-list.cD03-May-20241.9 KiB6719

pop3-multi.cD03-May-20242.3 KiB8532

pop3-noop.cD03-May-20242.1 KiB7321

pop3-retr.cD03-May-20241.9 KiB6719

pop3-ssl.cD03-May-20243.3 KiB9426

pop3-stat.cD03-May-20242.1 KiB7321

pop3-tls.cD03-May-20243.5 KiB9422

pop3-top.cD03-May-20242.1 KiB7020

pop3-uidl.cD03-May-20242 KiB7020

post-callback.cD03-May-20245.2 KiB15774

postinmemory.cD03-May-20243.4 KiB11555

postit2-formadd.cD03-May-20243.7 KiB11344

postit2.cD03-May-20243.4 KiB10539

progressfunc.cD03-May-20243.1 KiB9849

resolve.cD03-May-20241.9 KiB5918

sendrecv.cD03-May-20244.5 KiB16389

sepheaders.cD03-May-20242.7 KiB9740

sessioninfo.cD03-May-20243.1 KiB11360

sftpget.cD03-May-20243.3 KiB11348

sftpuploadresume.cD03-May-20243.8 KiB13883

shared-connection-cache.cD03-May-20242.5 KiB8842

simple.cD03-May-20241.7 KiB5418

simplepost.cD03-May-20241.9 KiB6021

simplessl.cD03-May-20244.6 KiB14458

smooth-gtk-thread.cD03-May-20245.8 KiB219125

smtp-authzid.cD03-May-20245.4 KiB16372

smtp-expn.cD03-May-20242.6 KiB8223

smtp-mail.cD03-May-20244.9 KiB15169

smtp-mime.cD03-May-20245.5 KiB16675

smtp-multi.cD03-May-20244.6 KiB15477

smtp-ssl.cD03-May-20245.8 KiB17175

smtp-tls.cD03-May-20246.2 KiB17371

smtp-vrfy.cD03-May-20242.6 KiB8222

sslbackend.cD03-May-20242.3 KiB8034

synctime.cD03-May-202412.6 KiB378233

threaded-ssl.cD03-May-20244.4 KiB16997

url2file.cD03-May-20242.4 KiB8934

urlapi.cD03-May-20242 KiB7533

usercertinmem.cD03-May-20248.9 KiB229152

version-check.plD03-May-20242.7 KiB10645

xmlstream.cD03-May-20245 KiB169103

README.md

1<!--
2Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3
4SPDX-License-Identifier: curl
5-->
6
7# libcurl examples
8
9This directory is for libcurl programming examples. They are meant to show
10some simple steps on how you can build your own application to take full
11advantage of libcurl.
12
13If you end up with other small but still useful example sources, please mail
14them for submission in future packages and on the website.
15
16## Building
17
18The `Makefile.example` is an example Makefile that could be used to build
19these examples. Just edit the file according to your system and requirements
20first.
21
22Most examples should build fine using a command line like this:
23
24    `curl-config --cc --cflags --libs` -o example example.c
25
26Some compilers do not like having the arguments in this order but instead
27want you do reorganize them like:
28
29    `curl-config --cc` -o example example.c `curl-config --cflags --libs`
30
31**Please** do not use the `curl.se` site as a test target for your libcurl
32applications/experiments. Even if some of the examples use that site as a URL
33at some places, it does not mean that the URLs work or that we expect you to
34actually torture our website with your tests. Thanks.
35
36## Examples
37
38Each example source code file is designed to be and work stand-alone and
39rather self-explanatory. The examples may at times lack the level of error
40checks you need in a real world, but that is then only for the sake of
41readability: to make the code smaller and easier to follow.
42