• Home
Name Date Size #Lines LOC

..--

10-at-a-time.cD03-May-20244.2 KiB151109

Makefile.amD03-May-20242.2 KiB7124

Makefile.exampleD03-May-20241.9 KiB5410

Makefile.incD03-May-20242.7 KiB4922

Makefile.m32D03-May-202410.1 KiB384305

Makefile.netwareD03-May-202411.5 KiB437325

README.mdD03-May-20241.4 KiB3523

altsvc.cD03-May-20241.8 KiB5720

anyauthput.cD03-May-20244.8 KiB17279

cacertinmem.cD03-May-20247.1 KiB182117

certinfo.cD03-May-20242.3 KiB8640

chkspeed.cD03-May-20246.5 KiB214137

cookie_interface.cD03-May-20244 KiB14192

crawler.cD03-May-20246.5 KiB218171

curlgtk.cD03-May-20242.9 KiB10770

curlx.cD03-May-202416.5 KiB575377

debug.cD03-May-20244.2 KiB155100

ephiperfifo.cD03-May-202414.5 KiB548380

evhiperfifo.cD03-May-202411.9 KiB449306

externalsocket.cD03-May-20244.8 KiB175108

fileupload.cD03-May-20242.8 KiB9043

fopen.cD03-May-202413.9 KiB547340

ftp-wildcard.cD03-May-20244.2 KiB15187

ftpget.cD03-May-20242.6 KiB9343

ftpgetinfo.cD03-May-20242.9 KiB9145

ftpgetresp.cD03-May-20242.5 KiB7834

ftpsget.cD03-May-20242.9 KiB10045

ftpupload.cD03-May-20244.5 KiB14065

ftpuploadfrommem.cD03-May-20243.8 KiB12567

ftpuploadresume.cD03-May-20244.2 KiB16288

getinfo.cD03-May-20241.6 KiB5320

getinmemory.cD03-May-20243.2 KiB11750

getredirect.cD03-May-20242.3 KiB7132

ghiper.cD03-May-202412 KiB437313

hiperfifo.cD03-May-202411.9 KiB459306

href_extractor.cD03-May-20242.6 KiB8743

htmltidy.cD03-May-20243.9 KiB12983

htmltitle.cppD03-May-20246.2 KiB295167

http-post.cD03-May-20242 KiB6020

http2-download.cD03-May-20248 KiB298190

http2-pushinmemory.cD03-May-20245 KiB189106

http2-serverpush.cD03-May-20248.9 KiB335211

http2-upload.cD03-May-20249.8 KiB365241

http3-present.cD03-May-20241.5 KiB4816

http3.cD03-May-20241.8 KiB5518

httpcustomheader.cD03-May-20242.3 KiB7125

httpput.cD03-May-20243.6 KiB12548

https.cD03-May-20242.5 KiB7925

imap-append.cD03-May-20243.8 KiB13369

imap-authzid.cD03-May-20242.2 KiB7222

imap-copy.cD03-May-20242.4 KiB7220

imap-create.cD03-May-20242.1 KiB6820

imap-delete.cD03-May-20242.1 KiB6820

imap-examine.cD03-May-20242.1 KiB6820

imap-fetch.cD03-May-20242 KiB6620

imap-list.cD03-May-20242.1 KiB6719

imap-lsub.cD03-May-20242.1 KiB6920

imap-multi.cD03-May-20244.8 KiB17494

imap-noop.cD03-May-20242 KiB6820

imap-search.cD03-May-20242.4 KiB7220

imap-ssl.cD03-May-20243.3 KiB9327

imap-store.cD03-May-20242.7 KiB8327

imap-tls.cD03-May-20243.5 KiB9323

makefile.djD03-May-20241.6 KiB5621

multi-app.cD03-May-20245.1 KiB17896

multi-debugcallback.cD03-May-20246.1 KiB232141

multi-double.cD03-May-20244 KiB14472

multi-event.cD03-May-20246 KiB241165

multi-formadd.cD03-May-20245.1 KiB17295

multi-poll.cD03-May-20242.2 KiB7732

multi-post.cD03-May-20244.9 KiB16890

multi-single.cD03-May-20243.1 KiB11248

multi-uv.cD03-May-20246 KiB236156

multithread.cD03-May-20242.6 KiB9541

opensslthreadlock.cD03-May-20242.7 KiB9651

parseurl.cD03-May-20242.1 KiB7939

persistent.cD03-May-20242.2 KiB6926

pop3-authzid.cD03-May-20242.2 KiB7121

pop3-dele.cD03-May-20242.2 KiB7121

pop3-list.cD03-May-20241.9 KiB6519

pop3-multi.cD03-May-20244.8 KiB17494

pop3-noop.cD03-May-20242.1 KiB7121

pop3-retr.cD03-May-20241.9 KiB6519

pop3-ssl.cD03-May-20243.2 KiB9226

pop3-stat.cD03-May-20242.1 KiB7121

pop3-tls.cD03-May-20243.5 KiB9222

pop3-top.cD03-May-20242.1 KiB6820

pop3-uidl.cD03-May-20242 KiB6820

post-callback.cD03-May-20245.2 KiB15574

postinmemory.cD03-May-20243.4 KiB11355

postit2-formadd.cD03-May-20243.5 KiB10744

postit2.cD03-May-20243.4 KiB10339

progressfunc.cD03-May-20244.8 KiB14579

resolve.cD03-May-20241.9 KiB5718

rtsp.cD03-May-20248.8 KiB289199

sampleconv.cD03-May-20243.3 KiB11361

sendrecv.cD03-May-20244.5 KiB16291

sepheaders.cD03-May-20242.7 KiB9540

sessioninfo.cD03-May-20243.1 KiB11160

sftpget.cD03-May-20243.3 KiB11148

sftpuploadresume.cD03-May-20243.8 KiB13683

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

simple.cD03-May-20241.7 KiB5218

simplepost.cD03-May-20241.8 KiB5821

simplessl.cD03-May-20244.6 KiB14258

smooth-gtk-thread.cD03-May-20246 KiB225122

smtp-authzid.cD03-May-20245.3 KiB16272

smtp-expn.cD03-May-20242.6 KiB8023

smtp-mail.cD03-May-20244.8 KiB15069

smtp-mime.cD03-May-20245.5 KiB16475

smtp-multi.cD03-May-20247 KiB244139

smtp-ssl.cD03-May-20245.7 KiB17075

smtp-tls.cD03-May-20246.2 KiB17271

smtp-vrfy.cD03-May-20242.6 KiB8022

sslbackend.cD03-May-20242.3 KiB7834

synctime.cD03-May-202412.6 KiB376233

threaded-shared-conn.cD03-May-20244.5 KiB15791

threaded-ssl.cD03-May-20244.3 KiB16797

url2file.cD03-May-20242.4 KiB8734

urlapi.cD03-May-20242 KiB7333

usercertinmem.cD03-May-20248.9 KiB227152

version-check.plD03-May-20242.6 KiB10445

xmlstream.cD03-May-20244.9 KiB167103

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